-
Notifications
You must be signed in to change notification settings - Fork 2
Description
python crop_images_in_the_wild.py --indir=/opt/nas/n/xugang/DisCO-main/input_img/
/opt/nas/n/xugang/eg3d/dataset_preprocessing/ffhq/crop_images_in_the_wild.py:58: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
im_cropped = im_cropped.resize((output_size, output_size), resample=Image.LANCZOS)
python 3dface2idr_mat.py --in_root Deep3DFaceRecon_pytorch/checkpoints/pretrained/results/input_img/epoch_20_000000 --out_path /opt/nas/n/xugang/DisCO-main/input_img/crop/cameras.json
Traceback (most recent call last):
File "/opt/nas/n/xugang/eg3d/dataset_preprocessing/ffhq/3dface2idr_mat.py", line 28, in
npys = sorted([x for x in os.listdir(in_root) if x.endswith(".mat")])
FileNotFoundError: [Errno 2] No such file or directory: 'Deep3DFaceRecon_pytorch/checkpoints/pretrained/results/input_img/epoch_20_000000'
python preprocess_face_cameras.py --source /opt/nas/n/xugang/DisCO-main/input_img/crop --dest input_img --mode orig
Traceback (most recent call last):
File "/opt/nas/n/xugang/eg3d/dataset_preprocessing/ffhq/preprocess_face_cameras.py", line 89, in
with open(camera_dataset_file, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/nas/n/xugang/DisCO-main/input_img/crop/cameras.json'
python: can't open file '/opt/nas/n/xugang/eg3d/dataset_preprocessing/ffhq/extract_c.py': [Errno 2] No such file or directory
Traceback (most recent call last):
File "/opt/nas/n/xugang/DisCO-main/process_in_one_time.py", line 81, in
subprocess.run([cmd], shell=True, check=True)
File "/opt/nas/p/conda/envs/DisCO/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['python extract_c.py --indir /opt/nas/n/xugang/DisCO-main/input_img/']' returned non-zero exit status 2.