i know there are already Issues about this 9and15,But the question seem still exist when run on mydata.(seems @LaurentGarcia also stuck in this still)
- uncomment the code for data process in multiview_optimization.py(Line 868)
- recheck DATA file structure as the example given
- set fit_bust set to True in "***.yaml"(which is set in base.yaml already)
during the test i try example given in project the problem also rised.
existing options file found (identical)
name: jenya2
Traceback (most recent call last):
File "/root/autodl-tmp/MonoHair/multiview_optimization.py", line 883, in <module>
dataset = NerfDataset(args, given_imagepath_list = imagepath_list)
File "/root/autodl-tmp/MonoHair/multiview_optimization.py", line 102, in __init__
assert len(self.data) > 0, "Can't find data; make sure you specify the path to your dataset"
AssertionError: Can't find data; make sure you specify the path to your dataset
If you are not running wig hair, please first run bust fitting.
Traceback (most recent call last):
File "/root/autodl-tmp/MonoHair/prepare_data.py", line 136, in <module>
shutil.copyfile(os.path.join(args.data.root,'optimize','model_tsfm.dat'),os.path.join(args.data.root,'model_tsfm.dat'))
File "/root/miniconda3/envs/MonoHair/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'data/jenya2/optimize/model_tsfm.dat'
as far as i know iris seem run properly, but landmark2d alwasys empty.
data/my*/
├── iris <--- have files
├── landmark2d <--- empty
├── colmap
├── face_parsing
├── ....
i found that those file was created by:
dataprocess.py:
if ignore_existing or not os.path.exists(os.path.join(savepath, 'matting')):
generate_matting_MODNet(os.path.join(savepath, 'capture_images'), os.path.join(savepath, 'matting'))
# landmarks
if ignore_existing or not os.path.exists(os.path.join(savepath, 'landmark2d')):
generate_landmark2d(os.path.join(savepath, 'capture_images'), os.path.join(savepath, 'landmark2d'), vis=vis)
if ignore_existing or not os.path.exists(os.path.join(savepath, 'iris')):
generate_iris(os.path.join(savepath, 'capture_images'), os.path.join(savepath, 'iris'), vis=vis)
# face parsing
if ignore_existing or not os.path.exists(os.path.join(savepath, 'face_parsing')):
generate_face_parsing(os.path.join(savepath, 'matting'), os.path.join(savepath, 'face_parsing'), vis=vis)
and
multiview_optimization.py:
dataprocess.run(args.subject_path,args.ignore_existing)
so, i update base.yaml :
ignore_existing: True
still not work
will updata this issue if i process something
i know there are already Issues about this 9and15,But the question seem still exist when run on mydata.(seems @LaurentGarcia also stuck in this still)
during the test i try example given in project the problem also rised.
as far as i know iris seem run properly, but landmark2d alwasys empty.
i found that those file was created by:
dataprocess.py:
and
multiview_optimization.py:
dataprocess.run(args.subject_path,args.ignore_existing)so, i update base.yaml :
ignore_existing: Truestill not work
will updata this issue if i process something