Please answer the following questions for yourself before submitting an issue.
https://github.com/tensorflow/models/tree/master/research/feelvos
I got the following error when running bash train.sh
.
The README doesn't tell us which TF to use.
The backward compatibility of TF is REALLY AWFUL.
Traceback (most recent call last):
File "/mnt/lustre/xiehaozhe/Development/feelvos/train.py", line 24, in <module>
from feelvos import model
File "/mnt/lustre/xiehaozhe/Development/feelvos/model.py", line 58, in <module>
from deeplab import model
File "/mnt/lustre/xiehaozhe/Development/feelvos/deeplab/model.py", line 58, in <module>
from deeplab.core import feature_extractor
File "/mnt/lustre/xiehaozhe/Development/feelvos/deeplab/core/feature_extractor.py", line 21, in <module>
import tensorflow.compat.v1 as tf
ModuleNotFoundError: No module named 'tensorflow.compat.v1'
bash train.sh
The program runs normally without raising ModuleNotFoundError: No module named 'tensorflow.compat.v1'
.
None
If you're using Tensorflow 1.x I recommend you use the r1.13.0 branch.
@TannerGilbert
What if I only have CUDA 9? TensorFlow 1.13 requires CUDA 10.
DON'T TELL ME TO UPGRADE TO CUDA 10.
I solved this problem by
git reset fe748d4a4a1576b57c279014ac0ceb47344399c4 --hard
Again, the backward compatibility of TF is REALLY AWFUL.
Most helpful comment
Again, the backward compatibility of TF is REALLY AWFUL.