Open Pythonerzan opened 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()
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)