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
Traceback (most recent call last):
File "/mmfs1/gscratch/efml/olo126/open_flamingo/open_flamingo/train/train.py", line 450, in
main()
File "/mmfs1/gscratch/efml/olo126/open_flamingo/open_flamingo/train/train.py", line 430, in main
train_one_epoch(
File "/mmfs1/gscratch/efml/olo126/open_flamingo/open_flamingo/train/train_utils.py", line 81, in train_one_epoch
(input_ids == model.media_token_id).sum().item()
File "/mmfs1/gscratch/xlab/olo126/miniconda3/envs/openflamingo/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'DistributedDataParallel' object has no attribute 'media_token_id'
The text was updated successfully, but these errors were encountered:
I set up an environment following the installation instructions and am trying to run train.py with the default lm, opt-1.3b,
But I get the following error:
The text was updated successfully, but these errors were encountered: