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
Python version 3.6 Pytorch version 1.4
3.6
1.4
I downloaded the pre-trained models and running test.py
test.py
python test.py
But getting the below error
Traceback (most recent call last): File "test.py", line 84, in <module> output_img, rec_img = sr_forward(img) File "test.py", line 73, in sr_forward img_aligned, M = dlib_detect_face(img, padding=padding, image_size=(128, 128), moving=moving) File "/home/ec2-user/mydir/Face-Super-Resolution/dlib_alignment.py", line 68, in dlib_detect_face dets = dlib_detector(img, 0) TypeError: __call__(): incompatible function arguments. The following argument types are supported: 1. (self: _dlib_pybind11.fhog_object_detector, image: array, upsample_num_times: int=0) -> _dlib_pybind11.rectangles Invoked with: <_dlib_pybind11.fhog_object_detector object at 0x7fd51a70d5e0>, None, 0
Please suggest.
The text was updated successfully, but these errors were encountered:
You have to change the input image path in test.py
Sorry, something went wrong.
No branches or pull requests
Python version
3.6
Pytorch version
1.4
I downloaded the pre-trained models and running
test.py
But getting the below error
Please suggest.
The text was updated successfully, but these errors were encountered: