facebookresearch / facebookresearch/OrienterNet

fail to run the colab file and demo

Open
#15 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
577
Forks
66
PR merge metrics
No merged PRs in 30d

Description

1. Why did I fail to run the colab file you provided directly?
-------------------------------------------------- -------------------------
UnpicklingError Traceback (most recent call last)
in ()
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(, 'Connection to api.openstreetmap.org timed out. (connect timeout=10)'))

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.