GonyRosenman / TFF

an end to end framework for analyzing fMRI time-series data (4D) using transformers
43 stars 13 forks source link

Do you seem to have a problem with the testing part of this code? #6

Open Pythonerzan opened 7 months ago

Pythonerzan commented 7 months ago

def test(args, model_weights_path): experimentfolder = '{}{}_{}'.format(args.datasetname, 'test{}'.format(args.fine_tune_task), datestamp()) experiment_folder = os.path.join(args.base_path, 'tests', experiment_folder) os.makedirs(experiment_folder)

# _ = run_phase(args, model_weights_path, '3', 'test')

trainer = Trainer(experiment_folder, '3', args, ['test'], model_weights_path)
trainer.testing()