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

Error in generating depth map from epi #4

Open
jie666-6 opened this issue Feb 21, 2023 · 1 comment
Open

Error in generating depth map from epi #4

jie666-6 opened this issue Feb 21, 2023 · 1 comment

Comments

@jie666-6
Copy link

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: ''

@lonngxiang
Copy link

same error

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

2 participants