-
Notifications
You must be signed in to change notification settings - Fork 136
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 when generate validation dataset #35
Comments
Hi,
Thanks, Marek |
hello,friend. And i want to rewrite ur code in pytorch,could u give me some support.thanks |
Hi, Have you done some standard debugging on this? For example:
If you have any specific question about the method that would help your pytorch implementation I will be more than happy to answer. Thanks, Marek |
to solve this problem , you need to modify those code:
to:
cause the key of boundingBoxDict is encoding in bytes,but the type of basename is string ,so you need transform the type of basename from string to bytes .it will work. |
Good find! Thanks, Marek |
Hi friends,
I got an error:
Traceback (most recent call last):
File "TrainingSetPreparation.py", line 21, in
validationSet.PrepareData(imageDirs, boundingBoxFiles, meanShape, 0, 100, False)
File "/home/diffdeep/Documents/DiffCat/face_landmarks/face_landmarks/ImageServer.py", line 71, in PrepareData
boundingBoxes.append(boundingBoxDict[basename])
KeyError: 'image_0295.png'
Please help me! Thanks
The text was updated successfully, but these errors were encountered: