choyingw / SynergyNet

3DV 2021: Synergy between 3DMM and 3D Landmarks for Accurate 3D Facial Geometry
MIT License
383 stars 57 forks source link

Unable to locate the file keypoints_sim.npy #36

Open Sadat75 opened 5 months ago

Sadat75 commented 5 months ago

When I run the command:

python singleImage.py -f img

I receive the following error:

Traceback (most recent call last):
  File "/home/sadat/Desktop/DeltaX_codes/SynergyNet/utils/params.py", line 13, in __init__
    self.keypoints = _load(osp.join(d, 'keypoints_sim.npy'))
  File "/home/sadat/Desktop/DeltaX_codes/SynergyNet/utils/io.py", line 25, in _load
    return np.load(fp)
  File "/home/sadat/miniconda3/envs/SynergyNet/lib/python3.8/site-packages/numpy/lib/npyio.py", line 405, in load
    fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '/home/sadat/Desktop/DeltaX_codes/SynergyNet/utils/../3dmm_data/keypoints_sim.npy'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "singleImage.py", line 6, in <module>
    from model_building import SynergyNet
  File "/home/sadat/Desktop/DeltaX_codes/SynergyNet/model_building.py", line 9, in <module>
    param_pack = ParamsPack()
  File "/home/sadat/Desktop/DeltaX_codes/SynergyNet/utils/params.py", line 37, in __init__
    raise RuntimeError('Missing data')
RuntimeError: Missing data

I am unable to locate the file keypoints_sim.npy