We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running with tensorflow as backend, it gives this error which relates to the tensorlayerx package.
ImportError: cannot import name 'distributed_init' from 'tensorlayerx.backend.ops.load_backend'
I think the issue is caused by the add torch distribution commit, where there is no distributed_init() in tensorflow_backend.py.
add torch distribution
distributed_init()
tensorflow_backend.py
Which OS are you using ? Windows 10, Python3.8, Cuda10.2,
Please provide a reproducible code of your issue. Without any reproducible code, you will probably not receive any help.
I'm trying to run the SRGAN project train.py --mode=eval with tensorflow as backend and with the given pretrained tensorflow weights.
train.py --mode=eval
The text was updated successfully, but these errors were encountered:
Hello, I also encounter this issue, have you any progress
Sorry, something went wrong.
will fix soon
HI thanks for your response I still have the same issue, any update?
Can you give a sample code? @aemrhb @AnsonCNS
@QuantumLiu I was running the code from the SRGAN project. And setting tensorflow as backend within the SRGAN train.py:
train.py
os.environ['TL_BACKEND'] = 'tensorflow'
I used the pretrained tensorflow model weights g and d provided by the project.
But I get the mentioned issue when I run the SRGAN project in eval mode.
eval
python train.py --mode=eval
No branches or pull requests
New Issue Checklist
Issue Description
When running with tensorflow as backend, it gives this error which relates to the tensorlayerx package.
I think the issue is caused by the
add torch distribution
commit, where there is nodistributed_init()
intensorflow_backend.py
.Reproducible Code
Which OS are you using ? Windows 10, Python3.8, Cuda10.2,
Please provide a reproducible code of your issue. Without any reproducible code, you will probably not receive any help.
I'm trying to run the SRGAN project
train.py --mode=eval
with tensorflow as backend and with the given pretrained tensorflow weights.The text was updated successfully, but these errors were encountered: