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
ModuleNotFoundError: No module named 'tensorflow.compat.v2 #44
Comments
i already use this version of colabs for couple weeks, but i think it because new update from DFL so it stop working. please solution suggested for OpenCL user. manythanks |
@hargums So, there is no reason to use DFL 1.0 |
@chervonij im using amd rx460 is it compatible with dfl 2.0 ? Thanks |
@hargums |
im facing issue with DFL_Colab_1-0.ipynb (because im using amd in my physical pc so i choose DFL_Colab_1-0.ipynb in colab)
Using TensorFlow backend.
Error: No module named 'tensorflow.compat.v2'
Traceback (most recent call last):
File "/content/DeepFaceLab/mainscripts/Trainer.py", line 52, in trainerThread
device_args=device_args)
File "/content/DeepFaceLab/models/ModelBase.py", line 142, in init
nnlib.import_all(self.device_config)
File "/content/DeepFaceLab/nnlib/nnlib.py", line 1613, in import_all
nnlib.import_keras(device_config)
File "/content/DeepFaceLab/nnlib/nnlib.py", line 229, in import_keras
import keras as keras_
File "/usr/local/lib/python3.7/dist-packages/keras/init.py", line 3, in
from . import utils
File "/usr/local/lib/python3.7/dist-packages/keras/utils/init.py", line 27, in
from .multi_gpu_utils import multi_gpu_model
File "/usr/local/lib/python3.7/dist-packages/keras/utils/multi_gpu_utils.py", line 7, in
from ..layers.merge import concatenate
File "/usr/local/lib/python3.7/dist-packages/keras/layers/init.py", line 4, in
from ..engine.base_layer import Layer
File "/usr/local/lib/python3.7/dist-packages/keras/engine/init.py", line 3, in
from .input_layer import Input
File "/usr/local/lib/python3.7/dist-packages/keras/engine/input_layer.py", line 7, in
from .base_layer import Layer
File "/usr/local/lib/python3.7/dist-packages/keras/engine/base_layer.py", line 12, in
from .. import initializers
File "/usr/local/lib/python3.7/dist-packages/keras/initializers/init.py", line 17, in
import tensorflow.compat.v2 as tf
ModuleNotFoundError: No module named 'tensorflow.compat.v2'
please help
The text was updated successfully, but these errors were encountered: