Closed suitmyself closed 3 years ago
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)
state_temp_dict = torch.load(args['model_file'])
state_temp_dict = torch.load(args['model_file'], map_location=device)
done. thanks for the suggestion
In test_fastdvdnet.py , please change
state_temp_dict = torch.load(args['model_file'])
tostate_temp_dict = torch.load(args['model_file'], map_location=device)