depthy icon indicating copy to clipboard operation
depthy copied to clipboard

Error in generating depth map from epi

Open jie666-6 opened this issue 2 years ago • 1 comments

I would like to generate depth map using my png file. But it always show error like this. Could you please help in this issue? Many thanks

(depth_map) C:\Workplace\02work>depthy -s D:\PNG\flood

depthy v0.4.0

Using epi method

Load light-field images

Traceback (most recent call last): File "c:\users\anaconda3\envs\depth_map\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\users\anaconda3\envs\depth_map\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\anaconda3\envs\depth_map\Scripts\depthy.exe_main.py", line 7, in File "c:\users\anaconda3\envs\depth_map\lib\site-packages\depthy\bin\cli.py", line 138, in main lf_img_arr = load_lf_arr(filenames) File "c:\users\anaconda3\envs\depth_map\lib\site-packages\depthy\misc\io_functions.py", line 53, in load_lf_arr fnames = sorted(fnames, key=lambda x: int(re.sub("[^0-9]", "", os.path.basename(x).split(".")[0]))) File "c:\users\anaconda3\envs\depth_map\lib\site-packages\depthy\misc\io_functions.py", line 53, in fnames = sorted(fnames, key=lambda x: int(re.sub("[^0-9]", "", os.path.basename(x).split(".")[0]))) ValueError: invalid literal for int() with base 10: ''

jie666-6 avatar Feb 21 '23 19:02 jie666-6

same error

lonngxiang avatar Sep 24 '24 01:09 lonngxiang