forget add map_location for torch.load
Closed this issue · 1 comments
suitmyself commented
In test_fastdvdnet.py , please change
state_temp_dict = torch.load(args['model_file'])
to
state_temp_dict = torch.load(args['model_file'], map_location=device)
m-tassano commented
done.
thanks for the suggestion