You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on probabilistic Unet. However, there is dependency problem among installed versions. I am using the Linux platform with a GPU cluster. May you please tell me your installed version of TensorFlow GPU, Keras, python, and others. In the requirement file, some are given, but not all. Following is my error stack, anybody please reply (if encountered the same issue):
a00636.science.domain
0,1
WARNING:tensorflow:From /home/bdp954/PU_Project1/probabilistic_unet/utils/training_utils.py:181: calling VarianceScaling.init (from tensorflow.python.ops.init_ops) with distribution=normal is deprecated and will be removed in a future version.
Instructions for updating: normal is a deprecated alias for truncated_normal
Logging to /home/bdp954/PU_Project1/probabilistic_unet/model/train.log
Assembling file dict from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train.
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/jena
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/stuttgart
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/aachen
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/hanover
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/dusseldorf
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/hamburg
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/zurich
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/erfurt
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/cologne
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/krefeld
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/strasbourg
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/weimar
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/bremen
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/bochum
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/tubingen
train set comprises 2701 files.
Assembling file dict from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train.
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/monchengladbach
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/ulm
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/darmstadt
train set comprises 274 files.
INFO:tensorflow:Building U-Net.
Building U-Net.
INFO:tensorflow:Building ConvGaussian.
Building ConvGaussian.
INFO:tensorflow:Building ConvGaussian.
Building ConvGaussian.
INFO:tensorflow:encoder scale 0: (?, 27, 256, 512)
encoder scale 0: (?, 27, 256, 512)
INFO:tensorflow:encoder scale 1: (?, 32, 256, 512)
encoder scale 1: (?, 32, 256, 512)
INFO:tensorflow:encoder scale 2: (?, 64, 128, 256)
encoder scale 2: (?, 64, 128, 256)
INFO:tensorflow:encoder scale 3: (?, 128, 64, 128)
encoder scale 3: (?, 128, 64, 128)
INFO:tensorflow:encoder scale 4: (?, 192, 32, 64)
encoder scale 4: (?, 192, 32, 64)
INFO:tensorflow:encoder scale 5: (?, 192, 16, 32)
encoder scale 5: (?, 192, 16, 32)
INFO:tensorflow:encoder scale 6: (?, 192, 8, 16)
encoder scale 6: (?, 192, 8, 16)
Failed to import TensorFlow. Please note that TensorFlow is not installed by default when you install TensorFlow Probability. This is so that users can decide whether to install the GPU-enabled TensorFlow package. To use TensorFlow Probability, please install the most recent version of TensorFlow, by following instructions at https://tensorflow.org/install.
Traceback (most recent call last):
File "train_prob_unet.py", line 188, in
train(cf)
File "train_prob_unet.py", line 62, in train
prob_unet(x, y, is_training=True, one_hot_labels=cf.one_hot_labels)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/sonnet/python/modules/base.py", line 389, in call
outputs, subgraph_name_scope = self._template(*args, **kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow/python/ops/template.py", line 359, in call
return self._call_func(args, kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow/python/ops/template.py", line 310, in _call_func
result = self._func(*args, **kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/sonnet/python/modules/base.py", line 246, in _build_wrapper
output = self._build(*args, **kwargs)
File "/home/bdp954/PU_Project1/probabilistic_unet/model/probabilistic_unet.py", line 410, in _build
self._q = self._posterior(img, seg)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/sonnet/python/modules/base.py", line 389, in call
outputs, subgraph_name_scope = self._template(*args, **kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow/python/ops/template.py", line 359, in call
return self._call_func(args, kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow/python/ops/template.py", line 310, in _call_func
result = self._func(*args, **kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/sonnet/python/modules/base.py", line 246, in _build_wrapper
output = self._build(*args, **kwargs)
File "/home/bdp954/PU_Project1/probabilistic_unet/model/probabilistic_unet.py", line 340, in _build
return tfd.MultivariateNormalDiag(loc=mu, scale_diag=tf.exp(log_sigma))
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow_probability/python/internal/lazy_loader.py", line 57, in getattr
module = self._load()
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow_probability/python/internal/lazy_loader.py", line 41, in _load
self._on_first_access()
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow_probability/python/init.py", line 41, in _validate_tf_environment
import tensorflow.compat.v1 as tf
ModuleNotFoundError: No module named 'tensorflow.compat.v1'
The text was updated successfully, but these errors were encountered:
I am working on probabilistic Unet. However, there is dependency problem among installed versions. I am using the Linux platform with a GPU cluster. May you please tell me your installed version of TensorFlow GPU, Keras, python, and others. In the requirement file, some are given, but not all. Following is my error stack, anybody please reply (if encountered the same issue):
a00636.science.domain
0,1
WARNING:tensorflow:From /home/bdp954/PU_Project1/probabilistic_unet/utils/training_utils.py:181: calling VarianceScaling.init (from tensorflow.python.ops.init_ops) with distribution=normal is deprecated and will be removed in a future version.
Instructions for updating:
normal
is a deprecated alias fortruncated_normal
Logging to /home/bdp954/PU_Project1/probabilistic_unet/model/train.log
Assembling file dict from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train.
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/jena
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/stuttgart
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/aachen
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/hanover
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/dusseldorf
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/hamburg
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/zurich
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/erfurt
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/cologne
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/krefeld
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/strasbourg
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/weimar
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/bremen
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/bochum
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/tubingen
train set comprises 2701 files.
Assembling file dict from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train.
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/monchengladbach
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/ulm
Reading from /home/bdp954/PU_Project1/gtFine_trainvaltest/output/quarter/train/darmstadt
train set comprises 274 files.
INFO:tensorflow:Building U-Net.
Building U-Net.
INFO:tensorflow:Building ConvGaussian.
Building ConvGaussian.
INFO:tensorflow:Building ConvGaussian.
Building ConvGaussian.
INFO:tensorflow:encoder scale 0: (?, 27, 256, 512)
encoder scale 0: (?, 27, 256, 512)
INFO:tensorflow:encoder scale 1: (?, 32, 256, 512)
encoder scale 1: (?, 32, 256, 512)
INFO:tensorflow:encoder scale 2: (?, 64, 128, 256)
encoder scale 2: (?, 64, 128, 256)
INFO:tensorflow:encoder scale 3: (?, 128, 64, 128)
encoder scale 3: (?, 128, 64, 128)
INFO:tensorflow:encoder scale 4: (?, 192, 32, 64)
encoder scale 4: (?, 192, 32, 64)
INFO:tensorflow:encoder scale 5: (?, 192, 16, 32)
encoder scale 5: (?, 192, 16, 32)
INFO:tensorflow:encoder scale 6: (?, 192, 8, 16)
encoder scale 6: (?, 192, 8, 16)
Failed to import TensorFlow. Please note that TensorFlow is not installed by default when you install TensorFlow Probability. This is so that users can decide whether to install the GPU-enabled TensorFlow package. To use TensorFlow Probability, please install the most recent version of TensorFlow, by following instructions at https://tensorflow.org/install.
Traceback (most recent call last):
File "train_prob_unet.py", line 188, in
train(cf)
File "train_prob_unet.py", line 62, in train
prob_unet(x, y, is_training=True, one_hot_labels=cf.one_hot_labels)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/sonnet/python/modules/base.py", line 389, in call
outputs, subgraph_name_scope = self._template(*args, **kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow/python/ops/template.py", line 359, in call
return self._call_func(args, kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow/python/ops/template.py", line 310, in _call_func
result = self._func(*args, **kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/sonnet/python/modules/base.py", line 246, in _build_wrapper
output = self._build(*args, **kwargs)
File "/home/bdp954/PU_Project1/probabilistic_unet/model/probabilistic_unet.py", line 410, in _build
self._q = self._posterior(img, seg)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/sonnet/python/modules/base.py", line 389, in call
outputs, subgraph_name_scope = self._template(*args, **kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow/python/ops/template.py", line 359, in call
return self._call_func(args, kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow/python/ops/template.py", line 310, in _call_func
result = self._func(*args, **kwargs)
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/sonnet/python/modules/base.py", line 246, in _build_wrapper
output = self._build(*args, **kwargs)
File "/home/bdp954/PU_Project1/probabilistic_unet/model/probabilistic_unet.py", line 340, in _build
return tfd.MultivariateNormalDiag(loc=mu, scale_diag=tf.exp(log_sigma))
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow_probability/python/internal/lazy_loader.py", line 57, in getattr
module = self._load()
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow_probability/python/internal/lazy_loader.py", line 41, in _load
self._on_first_access()
File "/home/bdp954/miniconda3/envs/PU_env/lib/python3.6/site-packages/tensorflow_probability/python/init.py", line 41, in _validate_tf_environment
import tensorflow.compat.v1 as tf
ModuleNotFoundError: No module named 'tensorflow.compat.v1'
The text was updated successfully, but these errors were encountered: