-
Notifications
You must be signed in to change notification settings - Fork 4
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
ValueError: not enough values to unpack (expected7, got6) #2
Comments
change "from speaksee.data import ImageDetectionsField" into "from data import ImageDetectionsField" |
Hello, the error didn't disappear when I modified "from speaksee.data import TextField,ImageDetectionsField", but when I changed "for it, (detections, _, ctrl_det_seqs, ctrl_det_gts, ctrl_det_seqs_test, _, caps_gt)" to "for it, (detections,ctrl_det_seqs, ctrl_det_gts, ctrl_det_seqs_test, _, caps_gt)"", the program worked fine. I don't know why. |
the deleted "_" stands for imgids, and the training doesn't need it |
Hello, I have tried to reproduce your code, and all parameters used have not been modified, but the cross-entropy loss function of training is only about 170, which is far from your paper. Looking forward to your reply. Thanks. |
Do you mean the score of the whole framework? Or only validation score during the training procedure of the captioning module? |
The final score for the entire framework is very low and far from your paper score. |
Sorry for the problem you meet, I'll retrain the model using the uploaded codes to find why and fix it. |
It seems strange. Are you using the captioning model after Reinforcement Learning? |
Hello, I am very interested in your article, and recently I read the code of the paper. There were a few problems in the code that I hadn't thought through. |
Hi, thanks for your interest. |
Hello, when I run python coco_scripts/train.py-- exp_name captioning_model-- batch_size 100-- lr 5e-4, the following questions arise: ValueError: not enough values to unpack (expected7, got6) have you ever encountered such a problem? Looking forward to your reply. Thanks.
The text was updated successfully, but these errors were encountered: