Skip to content
New issue

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

get error datasets/detectors.py", line 28 name 'image' is not defined #196

Open
koolou opened this issue Aug 2, 2023 · 1 comment
Open

Comments

@koolou
Copy link

koolou commented Aug 2, 2023

WX20230803-015152@2x
Traceback (most recent call last):
File "/Users/loc/DECA/demos/demo_reconstruct.py", line 131, in
main(parser.parse_args())
File "/Users/loc/DECA/demos/demo_reconstruct.py", line 40, in main
testdata = datasets.TestData(args.inputpath, iscrop=args.iscrop, face_detector=args.detector, sample_step=args.sample_step)
File "/Users/loc/DECA/decalib/datasets/datasets.py", line 71, in init
self.face_detector = detectors.FAN()
File "/Users/loc/DECA/decalib/datasets/detectors.py", line 28, in init
out = self.model.get_landmarks(image)

How should I set this "image" value?
I get an error when I directly use the content from the comments.

@xuduo18311199384
Copy link

2023-08-03 09-10-08 的屏幕截图

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants