TONet icon indicating copy to clipboard operation
TONet copied to clipboard

Hey,Chen

Open twodog668 opened this issue 2 years ago • 1 comments

I got a problem in testing the model like that: TypeError : test_step() missing 1 required positional argument: 'dataset_idx', and I can't fix it. Could you please help me fix it? This problem is in model/tonet.py, 454 row. Thank you very much.

twodog668 avatar Aug 04 '23 08:08 twodog668

Hi,

I once used the dataset_idx/dataloader_idx because I test multiple test sets/validation sets when training the model. I.e., after I train 1 epoch, I test each validation sets (namely idx 1, idx 2, idx 3, etc.) during the validation stage.

I think the update of pytorch lightning removes this parameters. I suggest using the pytorch lightning 1.8.1 version

RetroCirce avatar Dec 12 '23 05:12 RetroCirce