-
Notifications
You must be signed in to change notification settings - Fork 70
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
Example Run Error:EOFError: Ran out of input #23
Comments
I briefly reviewed the code at the error point and it seems that the training model was not fully downloaded. I manually downloaded the model, placed it in the correct location, and it can run correctly. |
Hi. The SOLD2 model (which you are using) should be automatically downloaded from here: https://www.polybox.ethz.ch/index.php/s/blOrW89gqSLoHOk/download, and into the directory "~/.limap/models/line2d/SOLD2/pretrained_models" by default. Maybe you can check if there is any problems with the internet connection. Thanks a lot! |
I have the same problem:
I've tried to find this path
but it is not appeared
And how can I download these module and fix this problem? Thanks a lot~~ |
when i run the example:
Both of them raise the problem:
==============================================================================
Extracting colors
Computing visual neighbors... (n_neighbors = 100)
[LOG] Start 2D line detection and description (detector = sold2, n_images = 98)...
Traceback (most recent call last):
File "/home/everbright/Codes/limap/runners/hypersim/fitnmerge.py", line 41, in
main()
File "/home/everbright/Codes/limap/runners/hypersim/fitnmerge.py", line 38, in main
run_scene_hypersim(cfg, dataset, cfg["scene_id"], cam_id=cfg["cam_id"])
File "/home/everbright/Codes/limap/runners/hypersim/fitnmerge.py", line 14, in run_scene_hypersim
linetracks = limap.runners.line_fitnmerge(cfg, imagecols, depths)
File "/home/everbright/Codes/limap/limap/runners/line_fitnmerge.py", line 100, in line_fitnmerge
all_2d_segs, _ = _runners.compute_2d_segs(cfg, imagecols, compute_descinfo=cfg["line2d"]["compute_descinfo"])
File "/home/everbright/Codes/limap/limap/runners/functions.py", line 136, in compute_2d_segs
detector = limap.line2d.get_detector(cfg["line2d"]["detector"], max_num_2d_segs=cfg["line2d"]["max_num_2d_segs"], do_merge_lines=cfg["line2d"]["do_merge_lines"], visualize=cfg["line2d"]["visualize"], weight_path=weight_path)
File "/home/everbright/Codes/limap/limap/line2d/register_detector.py", line 16, in get_detector
return SOLD2Detector(options)
File "/home/everbright/Codes/limap/limap/line2d/SOLD2/sold2.py", line 16, in init
self.detector = SOLD2LineDetector(weight_path=self.weight_path)
File "/home/everbright/Codes/limap/limap/line2d/SOLD2/sold2_wrapper.py", line 28, in init
self.initialize_line_matcher()
File "/home/everbright/Codes/limap/limap/line2d/SOLD2/sold2_wrapper.py", line 38, in initialize_line_matcher
self.line_matcher = LineMatcher(
File "/home/everbright/Codes/limap/limap/line2d/SOLD2/model/line_matcher.py", line 31, in init
checkpoint = torch.load(ckpt_path, map_location=self.device)
File "/home/everbright/anaconda3/envs/LIMAP/lib/python3.9/site-packages/torch/serialization.py", line 713, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/everbright/anaconda3/envs/LIMAP/lib/python3.9/site-packages/torch/serialization.py", line 920, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
EOFError: Ran out of input
The text was updated successfully, but these errors were encountered: