You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the demo_single_pair.py, there report an assert error:
Traceback (most recent call last):
File "D:/PyProjects/DenseMatching-main/demos/demo_single_pair.py", line 103, in
network, estimate_uncertainty = select_model(
File "D:\PyProjects\DenseMatching-main\model_selection.py", line 234, in select_model
network = load_network(network, checkpoint_path=checkpoint_fname)
File "D:\PyProjects\DenseMatching-main\model_selection.py", line 28, in load_network
checkpoint_dict = torch.load(checkpoint_path)
File "E:\ProgramData\anaconda3\envs\pytorch\lib\site-packages\torch\serialization.py", line 592, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "E:\ProgramData\anaconda3\envs\pytorch\lib\site-packages\torch\serialization.py", line 851, in _load
result = unpickler.load()
ModuleNotFoundError: No module named 'admin.local'
When running the demo_single_pair.py, there report an assert error:
Traceback (most recent call last):
File "D:/PyProjects/DenseMatching-main/demos/demo_single_pair.py", line 103, in
network, estimate_uncertainty = select_model(
File "D:\PyProjects\DenseMatching-main\model_selection.py", line 234, in select_model
network = load_network(network, checkpoint_path=checkpoint_fname)
File "D:\PyProjects\DenseMatching-main\model_selection.py", line 28, in load_network
checkpoint_dict = torch.load(checkpoint_path)
File "E:\ProgramData\anaconda3\envs\pytorch\lib\site-packages\torch\serialization.py", line 592, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "E:\ProgramData\anaconda3\envs\pytorch\lib\site-packages\torch\serialization.py", line 851, in _load
result = unpickler.load()
ModuleNotFoundError: No module named 'admin.local'
network = load_network(network, checkpoint_path=checkpoint_fname)
checkpoint_dict = torch.load(checkpoint_path, map_location='cpu')
I set pre_trained_models path as path_to_pre_trained_models = '../pre_trained_models/PDCNet_plus_megadepth.pth.tar'.
how to fix it?
The text was updated successfully, but these errors were encountered: