Closed mhyeonsoo closed 3 years ago
please follow readme and don't modify --model_name_or_path. If you want to reload model from other path, please modify from
checkpoint_prefix = 'checkpoint-best-acc/model.bin'
output_dir = os.path.join(args.output_dir, '{}'.format(checkpoint_prefix))
to
output_dir = "/app/temp/Defect-detection/model.bin"
Thanks, that works for me so far. and it looks be related to the #78 issue which still needs an advice.
Thanks.
Hello,
I am trying to load the trained model with the test script. When I run with the model.bin path as 'model_name_or_path', it returns the error below.
Is there anything else that I need to modify or add?
Thanks,