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
When I run bash run_fashion_a1_50_ditto_lam1.sh I found a bug:
flearn/trainers_MTL/ditto.py", line 53, in train
c.train_data['y'][i] = np.random.randint(0, 10, len(c.train_data['y']))
UnboundLocalError: local variable 'i' referenced before assignment
Could you tell me how to fix it? Thank you!
The text was updated successfully, but these errors were encountered:
When I run bash run_fashion_a1_50_ditto_lam1.sh I found a bug:
flearn/trainers_MTL/ditto.py", line 53, in train
c.train_data['y'][i] = np.random.randint(0, 10, len(c.train_data['y']))
UnboundLocalError: local variable 'i' referenced before assignment
Could you tell me how to fix it? Thank you!
Hello Litian,
When I run bash run_fashion_a1_50_ditto_lam1.sh I found a bug:
flearn/trainers_MTL/ditto.py", line 53, in train
c.train_data['y'][i] = np.random.randint(0, 10, len(c.train_data['y']))
UnboundLocalError: local variable 'i' referenced before assignment
Could you tell me how to fix it? Thank you!
The text was updated successfully, but these errors were encountered: