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

What's wrong with me ? #56

Open
XiaoZzai opened this issue Nov 15, 2018 · 3 comments
Open

What's wrong with me ? #56

XiaoZzai opened this issue Nov 15, 2018 · 3 comments

Comments

@XiaoZzai
Copy link

Initializing the variables of the model
Initialization finished
[-] init_model : 1.16156 sec, which is 0.01936 mins, which is 0.00032 hours
Traceback (most recent call last):
File "main.py", line 19, in
main()
File "main.py", line 15, in main
agent.run()
File "/media/arch760/My Passport/TFSegmentation/utils/misc.py", line 18, in timed
result = f(*args, **kwargs)
File "/media/arch760/My Passport/TFSegmentation/agent.py", line 88, in run
self.operator = self.operator(self.args, self.sess, self.model, self.model)
File "/media/arch760/My Passport/TFSegmentation/train/train.py", line 50, in init
super().init(args, sess, train_model, test_model)
File "/media/arch760/My Passport/TFSegmentation/train/basic_train.py", line 39, in init
save_relative_paths=True)
File "/home/arch760/.local/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1338, in init
self.build()
File "/home/arch760/.local/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1347, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/home/arch760/.local/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1384, in _build
build_save=build_save, build_restore=build_restore)
File "/home/arch760/.local/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 813, in _build_internal
saveables = self._ValidateAndSliceInputs(names_to_saveables)
File "/home/arch760/.local/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 661, in _ValidateAndSliceInputs
names_to_saveables = BaseSaverBuilder.OpListToDict(names_to_saveables)
File "/home/arch760/.local/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 638, in OpListToDict
name)
ValueError: At least two variables have the same name: network/conv1_x/bn1/mu

@erolrecep
Copy link

erolrecep commented Nov 16, 2018

Which version of tensorflow do you use? I've faced the same issue when I was trying to run with v1.7.1 .

@XiaoZzai
Copy link
Author

XiaoZzai commented Nov 16, 2018

@erolrecep
1.8.0 ...

@erolrecep
Copy link

erolrecep commented Nov 16, 2018

@18605973470 On requirements files they say 1.3.0 for tensorflow-gpu, 1.4.0 for tensorflow.

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