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
Error code: output = self.detect( face_loc.view(face_loc.size(0), -1, 4), # loc preds self.softmax(face_conf.view(face_conf.size(0), -1, self.num_classes)), # conf preds self.priors.type(type(x.data)) # default boxes )
Error message: Traceback (most recent call last): File "C:/Users/JUICE/Desktop/lightDSFD/test.py", line 215, in light_test_oneimage() File "C:/Users/JUICE/Desktop/lightDSFD/test.py", line 180, in light_test_oneimage det = infer(net , img , transform , thresh , cuda , shrink) File "C:/Users/JUICE/Desktop/lightDSFD/test.py", line 99, in infer y = net(x) # forward pass File "D:\ProgramData\Anaconda\envs\pytorch12\lib\site-packages\torch\nn\modules\module.py", line 547, in call result = self.forward(*input, **kwargs) File "C:\Users\JUICE\Desktop\lightDSFD\light_face_ssd.py", line 334, in forward self.priors.type(type(x.data)) # default boxes TypeError: forward() missing 1 required positional argument: 'prior_data'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error code:
output = self.detect(
face_loc.view(face_loc.size(0), -1, 4), # loc preds
self.softmax(face_conf.view(face_conf.size(0), -1, self.num_classes)), # conf preds
self.priors.type(type(x.data)) # default boxes
)
Error message:
Traceback (most recent call last):
File "C:/Users/JUICE/Desktop/lightDSFD/test.py", line 215, in
light_test_oneimage()
File "C:/Users/JUICE/Desktop/lightDSFD/test.py", line 180, in light_test_oneimage
det = infer(net , img , transform , thresh , cuda , shrink)
File "C:/Users/JUICE/Desktop/lightDSFD/test.py", line 99, in infer
y = net(x) # forward pass
File "D:\ProgramData\Anaconda\envs\pytorch12\lib\site-packages\torch\nn\modules\module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "C:\Users\JUICE\Desktop\lightDSFD\light_face_ssd.py", line 334, in forward
self.priors.type(type(x.data)) # default boxes
TypeError: forward() missing 1 required positional argument: 'prior_data'
The text was updated successfully, but these errors were encountered: