-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependencies - Request for environment .yml file #2
Comments
I am getting the following warnings and errors: WARNING:tensorflow:
WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:25: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead. WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:25: The name tf.logging.DEBUG is deprecated. Please use tf.compat.v1.logging.DEBUG instead. WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:587: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead. WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:591: The name tf.GPUOptions is deprecated. Please use tf.compat.v1.GPUOptions instead. WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:594: RunConfig.init (from tensorflow.contrib.learn.python.learn.estimators.run_config) is deprecated and will be removed in a future version. WARNING:tensorflow:From /Data/erc-3/ddannecker/miniconda3/envs/jeffrey/lib/python3.6/site-packages/tensorflow_core/python/util/tf_should_use.py:198: initialize_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02. WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:502: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead. WARNING:tensorflow:From /Data/erc-3/ddannecker/miniconda3/envs/jeffrey/lib/python3.6/site-packages/tensorflow_core/contrib/layers/python/layers/layers.py:2784: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version. WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:543: The name tf.trainable_variables is deprecated. Please use tf.compat.v1.trainable_variables instead. WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:550: The name tf.losses.mean_squared_error is deprecated. Please use tf.compat.v1.losses.mean_squared_error instead. WARNING:tensorflow:From /Data/erc-3/ddannecker/miniconda3/envs/jeffrey/lib/python3.6/site-packages/tensorflow_core/python/ops/losses/losses_impl.py:121: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version. WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:518: The name tf.GraphKeys is deprecated. Please use tf.compat.v1.GraphKeys instead. WARNING:tensorflow:From /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py:614: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead. ValueError Traceback (most recent call last) /Data/erc-3/ddannecker/denoising_with_jeffrey/Electron-Micrograph-Denoiser/denoiser.py in init(self, checkpoint_loc, visible_cuda) /Data/erc-3/ddannecker/miniconda3/envs/jeffrey/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py in restore(self, sess, save_path) ValueError: Can't load save_path when it is None. |
I used TensorFlow 1.x. I developed this code as part of my PhD in Physics, which I finished in 2021. Thus, I no longer have my original python environment to create a yml config file. |
Thank you for your quick response. I see. Interesting, because I installed TensorFlow 1.15 once I realized that the contrib function was deprecated and not available in 2.x. Mmmh...the error points to TensorFlow, but maybe another dependency is of the wrong version also. Thank you! |
Hello,
I am trying to run the denoiser on a couple of electron microscopy micrographs of mine.
I am running into one dependency error after the other.
I would like to ask you to provide an yml file in order to create a conda environment in which I can run this denoiser script.
So far I am not even able to just use the inference let alone the training.
While it is helpful that you listed the relevant packages, a version control is very important in order to have the script to run.
Thank you very much for your contribution and your help.
Best
Dennis
The text was updated successfully, but these errors were encountered: