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

Unknow hparams: [] when running on a custom video #254

Open
natalya118 opened this issue Dec 29, 2023 · 2 comments
Open

Unknow hparams: [] when running on a custom video #254

natalya118 opened this issue Dec 29, 2023 · 2 comments

Comments

@natalya118
Copy link

Hi! I'm getting an error when trying to binarize a custom video. Everything is working ok with May (after changing _2D to TWO_D). Did anyone have the same one?

Error:
...
Hubert extracted at data/processed/videos/BabsResized/aud_hubert.npy
Mel and F0 extracted at data/processed/videos/BabsResized/aud_mel_f0.npy
loading the model from deep_3drecon/checkpoints/facerecon/epoch_20.pth
loading video ...
extracting 2D facial landmarks ...: 100%|█████| 597/597 [00:49<00:00, 12.03it/s]
start extracting 3DMM...: 0%| | 0/18 [00:00<?, ?it/s]create rasterizer on device cuda:0
start extracting 3DMM...: 100%|█████████████████| 18/18 [00:05<00:00, 3.16it/s]
3DMM coeff extracted at data/processed/videos/BabsResized/vid_coeff.npy
| Unknow hparams: []
Traceback (most recent call last):
File "/home/d/GeneFace/data_gen/nerf/binarizer.py", line 14, in
set_hparams()
File "/home/d/GeneFace/utils/commons/hparams.py", line 46, in set_hparams
assert os.path.exists(args.config)
AssertionError

@kikiloveswift
Copy link

Change your video name to May.mp4 or read the code structure at egs/datasets/videos

@kikiloveswift
Copy link

Make sure your video is 25 FPS and refs=1.

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