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 in Preprocessing dataset #139

Open
xhding1997 opened this issue May 26, 2023 · 1 comment
Open

Error in Preprocessing dataset #139

xhding1997 opened this issue May 26, 2023 · 1 comment

Comments

@xhding1997
Copy link

Anyone know how to fix it? Thanks !

(alfred) bie@bie:~/alfred$ python models/train/train_seq2seq.py --data data/json_feat_2.1.0 --model seq2seq_im_mask --splits data/splits/oct21.json --gpu --batch 8 --pm_aux_loss_wt 0.1 --subgoal_aux_loss_wt 0.1 --preprocess
Namespace(action_loss_wt=1.0, actor_dropout=0.0, attn_dropout=0.0, batch=8, data='data/json_feat_2.1.0', dataset_fraction=0, dec_teacher_forcing=False, decay_epoch=10, demb=100, dframe=2500, dhid=512, dout='exp/model:seq2seq_im_mask', epoch=20, fast_epoch=False, gpu=True, hstate_dropout=0.3, input_dropout=0.0, lang_dropout=0.0, lr=0.0001, mask_loss_wt=1.0, model='seq2seq_im_mask', pframe=300, pm_aux_loss_wt=0.1, pp_folder='pp', preprocess=True, resume=None, save_every_epoch=False, seed=123, splits='data/splits/oct21.json', subgoal_aux_loss_wt=0.1, temp_no_history=False, use_templated_goals=False, vis_dropout=0.3, zero_goal=False, zero_instr=False)
{'tests_seen': 1533,
'tests_unseen': 1529,
'train': 21023,
'valid_seen': 820,
'valid_unseen': 821}

Preprocessing dataset and saving to pp folders ... This will take a while. Do this once as required.
Preprocessing tests_seen
Traceback (most recent call last):
File "models/train/train_seq2seq.py", line 88, in
dataset.preprocess_splits(splits)
File "/home/bie/alfred/data/preprocess.py", line 51, in preprocess_splits
for task in progressbar.progressbar(d):
TypeError: 'module' object is not callable

@MohitShridhar
Copy link
Collaborator

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