Skip to content
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

colmap2mvsnet.py not working #41

Open
wvnuw opened this issue Oct 17, 2023 · 0 comments
Open

colmap2mvsnet.py not working #41

wvnuw opened this issue Oct 17, 2023 · 0 comments

Comments

@wvnuw
Copy link

wvnuw commented Oct 17, 2023

Hello and thank you for your work!

I get following error message when I try to run colmap2mvsnet.py with my own data. Can you help me?

(myenv) root@9264b8635167:/cascade-stereo/CasMVSNet# python colmap2mvsnet.py --d
ense_folder /data/dense --save_folder /data/outputs/scene
intrinsic
 {1: array([[3.43259350e+03, 0.00000000e+00, 1.00000000e+03],
       [0.00000000e+00, 3.43147203e+03, 8.64500000e+02],
       [0.00000000e+00, 0.00000000e+00, 1.00000000e+00]])}

extrinsic[1]
 [[-7.70919848e-01  6.35880054e-01 -3.65943429e-02  2.37719001e+01]
 [-6.36652015e-01 -7.67603992e-01  7.38804668e-02  1.88145246e+01]
 [ 1.88891514e-02  8.02537804e-02  9.96595470e-01 -5.89685944e-01]
 [ 0.00000000e+00  0.00000000e+00  0.00000000e+00  1.00000000e+00]]

depth_ranges[1]
 (8.08278138523733, 0.001266442170798268, 192, 8.3246718398598)


Traceback (most recent call last):
  File "colmap2mvsnet.py", line 469, in <module>
    processing_single_scene(args)
  File "colmap2mvsnet.py", line 406, in processing_single_scene
    result = p.map(func, queue)
  File "/root/miniconda3/envs/myenv/lib/python3.6/multiprocessing/pool.py", line 266, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/root/miniconda3/envs/myenv/lib/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value
  File "/root/miniconda3/envs/myenv/lib/python3.6/multiprocessing/pool.py", line 424, in _handle_tasks
    put(task)
  File "/root/miniconda3/envs/myenv/lib/python3.6/multiprocessing/connection.py", line 206, in send
    self._send_bytes(_ForkingPickler.dumps(obj))
  File "/root/miniconda3/envs/myenv/lib/python3.6/multiprocessing/connection.py", line 393, in _send_bytes
    header = struct.pack("!i", n)
struct.error: 'i' format requires -2147483648 <= number <= 2147483647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant