You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.
I download your dataset and run:
python train_tasks.py --bert_model bert-base-uncased --from_pretrained ./multi_task_model.bin --config_file config/bert_base_6layer_6conect.json --tasks 1 --lr_scheduler 'warmup_linear' --train_iter_gap 4 --task_specific_tokens --save_name finetune_from_multi_task_model
it will give error:
Traceback (most recent call last):
File "train_tasks.py", line 670, in
main()
File "train_tasks.py", line 529, in main
task_losses,
File "/dccstor/extrastore/vilbert-multi-task/vilbert/task_utils.py", line 197, in ForwardModelsTrain
batch
ValueError: too many values to unpack (expected 9)
The text was updated successfully, but these errors were encountered:
The error is :
Traceback (most recent call last):
File "eval_retrieval.py", line 367, in
main()
File "eval_retrieval.py", line 309, in main
task_ids=task_tokens,
ValueError: too many values to unpack (expected 9)
and task_tokens is the type of tensor([[19]], device='cuda:0')
I download your dataset and run:
python train_tasks.py --bert_model bert-base-uncased --from_pretrained ./multi_task_model.bin --config_file config/bert_base_6layer_6conect.json --tasks 1 --lr_scheduler 'warmup_linear' --train_iter_gap 4 --task_specific_tokens --save_name finetune_from_multi_task_model
it will give error:
Traceback (most recent call last):
File "train_tasks.py", line 670, in
main()
File "train_tasks.py", line 529, in main
task_losses,
File "/dccstor/extrastore/vilbert-multi-task/vilbert/task_utils.py", line 197, in ForwardModelsTrain
batch
ValueError: too many values to unpack (expected 9)
The text was updated successfully, but these errors were encountered: