dmarnerides / hdr-expandnet

Training and inference code for ExpandNet
Other
201 stars 40 forks source link

iterating over png/jpg dataset from a folder #7

Closed ittim4 closed 5 years ago

ittim4 commented 5 years ago

Is there a way to specify absolute or relative path for input folder so that all images in input folder will be processed? If not, can it be added? There is already --out option for specifying out dir, but no similar option for specifying input directory. E.g. Tried "python expand.py in_dir --out results" or "python expand.py in_dir*.png --out results" ; it doesn't work as we get error message saying "Could not load in_dir" or "Could not load in_dir*.png", though folder in_dir exists at correct location.

dmarnerides commented 5 years ago

Hi, can you try this and let me know if it works?

python expand.py in_dir/*.png --out results
ittim4 commented 5 years ago

Tried; it doesn't work.

ittim4 commented 5 years ago

Currently have a workaround for this to call for each image separately; but just checking in if there was any update here.

dmarnerides commented 5 years ago

Update: The new commit works with LDR directories

python expand.py path/to/ldr_dir