Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Fix convert_pkl_to_pb import error #976

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chenhangcal
Copy link

When running:
python tools/convert_pkl_to_pb.py -h

Raise an error:
Traceback (most recent call last): File "tools/convert_pkl_to_pb.py", line 44, in <module> from caffe2.caffe2.fb.predictor import predictor_exporter, predictor_py_utils ModuleNotFoundError: No module named 'caffe2.caffe2'

Change import module to fix this.
#969

@facebook-github-bot
Copy link

Hi chenhangcal! Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

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

Successfully merging this pull request may close these issues.

3 participants