m-tassano/fastdvdnet

forget add map_location for torch.load

Closed this issue · 1 comments

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)

done.
thanks for the suggestion