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
Any idea on why is this error occurring?
ValueError: zero-size array to reduction operation minimum which has no identity, the total_n_matches is zero. I am working with the milk dataset provided by this repository.
GUI started
[bundlesdf.py] percentile denoise start
[bundlesdf.py] percentile denoise done
[bundlesdf.py] processNewFrame start 1668813025164826994
[bundlesdf.py] process frame 1668813025164826994
[2025-01-26 06:43:22.354] [warning] [Bundler.cpp:268] Added frame 1668813025164826994 as keyframe, current #keyframe: 1
[bundlesdf.py] processNewFrame done 1668813025164826994
[bundlesdf.py] 1668813025164826994 prepare data for nerf
[bundlesdf.py] rematch_after_nerf: True
[2025-01-26 06:43:22.373] [warning] [Bundler.cpp:961] Welcome saveNewframeResult
[2025-01-26 06:43:22.448] [warning] [Bundler.cpp:1110] saveNewframeResult done
[bundlesdf.py] percentile denoise start
[bundlesdf.py] percentile denoise done
[bundlesdf.py] processNewFrame start 1668813025193228911
[bundlesdf.py] process frame 1668813025193228911
[bundlesdf.py] frame_pairs: 1
[loftr_wrapper.py] image0: torch.Size([1, 1, 400, 400])
[loftr_wrapper.py] net forward
total_n_matches: 0
[]
Traceback (most recent call last):
File "run_custom.py", line 222, in
run_one_video(video_dir=args.video_dir, out_folder=args.out_folder, use_segmenter=args.use_segmenter, use_gui=args.use_gui)
File "run_custom.py", line 102, in run_one_video
tracker.run(color, depth, K, id_str, mask=mask, occ_mask=None, pose_in_model=pose_in_model)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 543, in run
self.process_new_frame(frame)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 434, in process_new_frame
self.find_corres([(frame, ref_frame)])
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 362, in find_corres
corres = self.loftr.predict(rgbAs=imgs[::2], rgbBs=imgs[1::2])
File "/opt/conda/envs/py38/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/loftr_wrapper.py", line 70, in predict
logging.info(f"mconf, {mconf.min()} {mconf.max()}")
File "/opt/conda/envs/py38/lib/python3.8/site-packages/numpy/core/_methods.py", line 45, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation minimum which has no identity
Process Process-2:
Process Process-3:
Traceback (most recent call last):
Traceback (most recent call last):
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 37, in run_gui
if gui_dict['join']:
File "", line 2, in getitem
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/managers.py", line 835, in _callmethod
kind, result = conn.recv()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
buf = self._recv(4)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 89, in run_nerf
join = p_dict['join']
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
File "", line 2, in getitem
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/managers.py", line 835, in _callmethod
kind, result = conn.recv()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
ConnectionResetError: [Errno 104] Connection reset by peer
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
buf = self._recv(4)
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
ConnectionResetError: [Errno 104] Connection reset by peer
[2025-01-26 06:43:25.579] [warning] [Bundler.cpp:59] Destructor
The text was updated successfully, but these errors were encountered:
Any idea on why is this error occurring?
ValueError: zero-size array to reduction operation minimum which has no identity, the total_n_matches is zero. I am working with the milk dataset provided by this repository.
GUI started
[bundlesdf.py] percentile denoise start
[bundlesdf.py] percentile denoise done
[bundlesdf.py] processNewFrame start 1668813025164826994
[bundlesdf.py] process frame 1668813025164826994
[2025-01-26 06:43:22.354] [warning] [Bundler.cpp:268] Added frame 1668813025164826994 as keyframe, current #keyframe: 1
[bundlesdf.py] processNewFrame done 1668813025164826994
[bundlesdf.py] 1668813025164826994 prepare data for nerf
[bundlesdf.py] rematch_after_nerf: True
[2025-01-26 06:43:22.373] [warning] [Bundler.cpp:961] Welcome saveNewframeResult
[2025-01-26 06:43:22.448] [warning] [Bundler.cpp:1110] saveNewframeResult done
[bundlesdf.py] percentile denoise start
[bundlesdf.py] percentile denoise done
[bundlesdf.py] processNewFrame start 1668813025193228911
[bundlesdf.py] process frame 1668813025193228911
[bundlesdf.py] frame_pairs: 1
[loftr_wrapper.py] image0: torch.Size([1, 1, 400, 400])
[loftr_wrapper.py] net forward
total_n_matches: 0
[]
Traceback (most recent call last):
File "run_custom.py", line 222, in
run_one_video(video_dir=args.video_dir, out_folder=args.out_folder, use_segmenter=args.use_segmenter, use_gui=args.use_gui)
File "run_custom.py", line 102, in run_one_video
tracker.run(color, depth, K, id_str, mask=mask, occ_mask=None, pose_in_model=pose_in_model)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 543, in run
self.process_new_frame(frame)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 434, in process_new_frame
self.find_corres([(frame, ref_frame)])
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 362, in find_corres
corres = self.loftr.predict(rgbAs=imgs[::2], rgbBs=imgs[1::2])
File "/opt/conda/envs/py38/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/loftr_wrapper.py", line 70, in predict
logging.info(f"mconf, {mconf.min()} {mconf.max()}")
File "/opt/conda/envs/py38/lib/python3.8/site-packages/numpy/core/_methods.py", line 45, in _amin
return umr_minimum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation minimum which has no identity
Process Process-2:
Process Process-3:
Traceback (most recent call last):
Traceback (most recent call last):
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 37, in run_gui
if gui_dict['join']:
File "", line 2, in getitem
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/managers.py", line 835, in _callmethod
kind, result = conn.recv()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
buf = self._recv(4)
File "/home/jjpatino/Documents/GHrepos/BundleSDF/bundlesdf.py", line 89, in run_nerf
join = p_dict['join']
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
File "", line 2, in getitem
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/managers.py", line 835, in _callmethod
kind, result = conn.recv()
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
ConnectionResetError: [Errno 104] Connection reset by peer
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
buf = self._recv(4)
File "/opt/conda/envs/py38/lib/python3.8/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
ConnectionResetError: [Errno 104] Connection reset by peer
[2025-01-26 06:43:25.579] [warning] [Bundler.cpp:59] Destructor
The text was updated successfully, but these errors were encountered: