We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Thanks for your work here.
I am running the demo.py file using the downloaded my_video.avi that was shared. Can u advice what should be fixed?
To recreate my setup
conda create -n contrast python=3.9 conda activate contrast pip install -r requirements.txt pip install facenet-pytorch
(contrast) azureuser@boneage-v100:~/cloudfiles/code/Users/contrast-phys/contrast-phys$ python demo/demo.py Traceback (most recent call last): File "/mnt/batch/tasks/shared/LS_root/mounts/clusters/boneage-v100/code/Users/contrast-phys/contrast-phys/demo/demo.py", line 10, in <module> face_list, fps = face_detection(video_path='./S1_Bright Place_No Compress_Chinese.mp4') File "/mnt/batch/tasks/shared/LS_root/mounts/clusters/boneage-v100/code/Users/contrast-phys/contrast-phys/demo/face_detection.py", line 47, in face_detection face_list = np.transpose(face_list, (3,0,1,2)) # (C, T, H, W) File "<__array_function__ internals>", line 200, in transpose File "/anaconda/envs/contrast/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 668, in transpose return _wrapfunc(a, 'transpose', axes) File "/anaconda/envs/contrast/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 57, in _wrapfunc return bound(*args, **kwds) ValueError: axes don't match array
The text was updated successfully, but these errors were encountered:
Hi, it seems you used your own video in the demo. You can print the shape of face_list to check if the video is correctly loaded.
face_list
Sorry, something went wrong.
No branches or pull requests
Hi,
Thanks for your work here.
I am running the demo.py file using the downloaded my_video.avi that was shared. Can u advice what should be fixed?
To recreate my setup
The text was updated successfully, but these errors were encountered: