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

FileNotFoundError: [Errno 2] No such file or directory: '/home/zoloz/hangke/AD-NeRF/dataset/Obama/aud.npy' #110

Open
Prometheus945 opened this issue Sep 13, 2022 · 1 comment

Comments

@Prometheus945
Copy link

Hello, author.
I also encountered a problem when running rendering. python NeRFs/TorsoNeRF/run_ nerf. py --config dataset/$id/TorsoNeRFTest_ config. txt --aud_ file=dataset/$id/aud. npy --test_ size=300
This missing 'aud. NPY'
The error is as follows: traceback (most recent call last):
File "NeRFs/HeadNeRF/run_nerf.py", line 965, in
train()
File "NeRFs/HeadNeRF/run_nerf.py", line 655, in train
args. datadir, args.testskip)
File "/home/zoloz/hangke/AD-NeRF/NeRFs/HeadNeRF/load_audface.py", line 37, in load_ audface_ data
aud_ features = np.load(os.path.join(basedir, 'aud.npy'))
File "/home/zoloz/anaconda3/envs/adnerf/lib/python3.7/site-packages/numpy/lib/npyio.py", line 417, in load
fid = stack. enter_ context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '/home/zoloz/hangke/AD-NeRF/dataset/Obama/aud.npy'

@exceedzhang
Copy link

The reason for the error is that you did not generate a sound feature file during data processing.
Regenerate sound feature file aud.npy, you run:
python data_util/process_data.py --id=Obama --step=0

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