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

Exception has occurred: ValueError - Error during the execution of train.py script #37

Open
KevinSIERA opened this issue Feb 15, 2021 · 1 comment

Comments

@KevinSIERA
Copy link

Hello I tried to reproduce the result of this method and got this bug :
Exception has occurred: ValueError
No variables provided.
File "/home/kevin/3DSSD/lib/core/trainer.py", line 87, in __init__
self.update_op = [self.optimizer.apply_gradients(zip(self.grads, self.params), global_step=self.global_step)]
File "/home/kevin/3DSSD/lib/core/trainer.py", line 216, in <module>
cur_trainer = trainer(args)

I'm on Ubuntu16.04, using python3.6 with tensorflow1.4. I also would like adding, I added these 2 lines in _build_model_list function to overcome an UnboundLocalError.
params = []
extra_update_ops = []

When I search to found this exception, I notice that self.params and self.extra_update_ops are respectively linked with cfg.TRAIN.CONFIG.TRAIN_PARAM_PREFIX and cfg.TRAIN.CONFIG.TRAIN_LOSS_PREFIX. These 2 parameters are not indicated in the 3dssd.yaml file. I tried to add them but I have no idea of their value and nothing changed when I add them ithout value. So how can I overcome this exception ?

@Antonskoltech
Copy link

@KevinSIERA did you fixed? The same problem

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