Skip to content

Unable to locate the file keypoints_sim.npy #36

@Sadat75

Description

@Sadat75

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions