Skip to content
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

trainer.py #46

Open
FMfelix opened this issue Oct 22, 2021 · 1 comment
Open

trainer.py #46

FMfelix opened this issue Oct 22, 2021 · 1 comment

Comments

@FMfelix
Copy link

FMfelix commented Oct 22, 2021

Dear Professor,
There is an error on line 674 of the trainer.py: tmp_tensor = tf.compat.v1.get_default_graph().get_tensor_by_name(k)
When I debug, I find that the shape of tmp_tensor is empty(),it makes the whole pre-training value unable to be loaded.
I am looking forward to your reply as soon as possible

@cyberfag
Copy link

I ran into similar problem and it turned out to be due to versions issue. Make sure you use tensorflow-gpu 1.x and Python 3.6.x (the authors mentioned 3.5 but it didn't work for me as well as initial 3.8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants