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

Import processor_factory and preprocess_factory from openpifpaf #62

Closed
daodao9801 opened this issue May 25, 2021 · 1 comment
Closed

Comments

@daodao9801
Copy link

Hi Lorenzo,

Sorry to disturb you again, forgive me if this is naive problom. I am a beginner and much appreciate your help.

Since I failed to setup the monoloco on my jetson devices, I turned to desktop computers this time. However, there seems to be unconsistansy in the new monoloco and openpifpaf. When I run the monoloco demo, it says ImportError: cannot import name 'processor_factory' from 'openpifpaf.predict' .
The processor_factoryand preprocess_factorycall is called in line 164 and 165 in predict.py and imported in the beginning. However, I couldn't find their definition in openpifpaf.predict or elsewhere.

Best,
Pheo

@bertoni9
Copy link
Contributor

Hello Pheo,
Yes openpifpaf was updated recently and there was a compatibility issue. With the latest version of MonoLoco (v0.7.1), this is now solved (cc: @charlesbvll)

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