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
Got an error with initial setup and code reproducing. Please help me out running the code.
INFO:train_multihead.py:Build inputs and labels
INFO:train_multihead.py:Pad inputs and convert to Tensor
Traceback (most recent call last):
File "train_multihead.py", line 308, in
train()
File "train_multihead.py", line 204, in train
train_loader, val_loader, train_sampler, valid_sampler = get_data_loaders(config, tokenizer)
File "train_multihead.py", line 147, in get_data_loaders
tensor = torch.tensor(dataset[input_name])
TypeError: an integer is required (got type list)
The text was updated successfully, but these errors were encountered:
Got an error with initial setup and code reproducing. Please help me out running the code.
INFO:train_multihead.py:Build inputs and labels
INFO:train_multihead.py:Pad inputs and convert to Tensor
Traceback (most recent call last):
File "train_multihead.py", line 308, in
train()
File "train_multihead.py", line 204, in train
train_loader, val_loader, train_sampler, valid_sampler = get_data_loaders(config, tokenizer)
File "train_multihead.py", line 147, in get_data_loaders
tensor = torch.tensor(dataset[input_name])
TypeError: an integer is required (got type list)
The text was updated successfully, but these errors were encountered: