-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fail to run the colab file and demo #15
Comments
|
/content/OrienterNet UnpicklingError Traceback (most recent call last) 2 frames /usr/local/lib/python3.10/dist-packages/torch/serialization.py in load(f, map_location, pickle_module, weights_only, **pickle_load_args) /usr/local/lib/python3.10/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, **pickle_load_args) UnpicklingError: invalid load key, '<'.
OSM_URL = "https://api.openstreetmap.org/api/0.6/map.json" start_time = time. time() print(f"The request took {end_time - start_time} seconds.") The request took 0.9423749446868896 seconds. |
|
UnpicklingError Traceback (most recent call last)
in <cell line: 22>()
20 # but num_rotations=64~128 is often sufficient.
21 # To reduce the memory usage, we can reduce the tile size in the next cell.
---> 22 demo = Demo(num_rotations=256, device='cpu') # change to "cuda" if you have a GPU.
2 frames
/usr/local/lib/python3.10/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
1031 "functionality.")
1032
-> 1033 magic_number = pickle_module.load(f, **pickle_load_args)
1034 if magic_number != MAGIC_NUMBER:
1035 raise RuntimeError("Invalid magic number; corrupt file?")
UnpicklingError: invalid load key, '<'.
2、Unable to run download osm smoothly
MaxRetryError: HTTPSConnectionPool(host='api.openstreetmap.org', port=443): Max retries exceeded with url: /api/0.6/map.json?bbox=8.548173412781503%2C47.37771879777533%2C8.55013322635351%2C47.37904999377059 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000293A557CEB0>, 'Connection to api.openstreetmap.org timed out. (connect timeout=10)'))
The text was updated successfully, but these errors were encountered: