-
Notifications
You must be signed in to change notification settings - Fork 125
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
I wrote the cilf file and cpp file, but I can't import this file #86
Comments
@pichuan does nucleus have support for building user-provided .clif extensions? |
Thanks @rwgk for tagging me! The Nucleus BUILD file for clif is here: https://github.com/google/nucleus/blob/v0.6.0/nucleus/util/python/BUILD @one-matrix , if you're able to build Nucleus (or DeepVariant repo) before any changes, then, after you add your new files, and your own corresponding BUILD rules, you can try to build again. Also note that the latest released Nucleus code is in https://github.com/google/deepvariant/tree/r1.6/third_party/nucleus . We used to make standalone Nucleus releases, but in recent years we focused more on making it as part of DeepVariant. |
@pichuan thanks,but how can i compile the clif file? and What kind of extra files will generate if i compile the clif,There are very few document about clif. the error show that i cannot import the tfrecord_reader,But the path and file exist. |
Hi @one-matrix , |
I wrote the cilf file and cpp file, but I can't import this file,
do I need to compile it?, how to link python and C++?
from third_party.nucleus.io.python import tfrecord_reader ImportError: cannot import name 'tfrecord_reader' from 'third_party.nucleus.io.python'
The text was updated successfully, but these errors were encountered: