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

Error #18

Open
sudonto opened this issue Jan 29, 2018 · 1 comment
Open

Error #18

sudonto opened this issue Jan 29, 2018 · 1 comment

Comments

@sudonto
Copy link

sudonto commented Jan 29, 2018

I have error when running training_model.py. The message is:

Traceback (most recent call last):
File "D:\Workspace\DL\SSD\train_net.py", line 281, in
obj.run()
File "D:\Workspace\DL\SSD\train_net.py", line 241, in run
image, glabels, gbboxes, gdifficults, gclasses, localizations, gscores = self.get_voc_2007_train_data()
ValueError: too many values to unpack (expected 7)

So, how is the solution? I am newbie in python/tensorflow. Thank you.

@LevinJ
Copy link
Owner

LevinJ commented Jan 29, 2018

Hi @sudonto, the training script should run fine.

Regarding the error you are observing, I think it's complaining that self.get_voc_2007_train_data() is not returning a list of 7 elements as expected. Did you put the data file in proper folders?

the readme file has detailed steps on how to generate tfrecords and run training scripts, hope it helps.

https://github.com/LevinJ/SSD_tensorflow_VOC

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