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
Cannot import spconv in the 3D-U-Net repo #11
Comments
Yes, you can replace this folder with your newly built one (in
spconv/build/...)
NCTU-VRDL ***@***.***> 于2021年10月19日周二 下午3:39写道:
… Hi,
I have followed all the steps to successfully install the spconv and
import it without any problems, including from spconv import spconv_utils.
However, I cannot import spconv inside the model repo (3D-U-Net, merge,
relation). The error message is shown below.
15 import numpy as np
---> 16 from spconv import spconv_utils
17 from spconv.spconv_utils import (non_max_suppression, non_max_suppression_cpu,
18 points_to_voxel_3d_np, rbbox_iou,
ImportError: cannot import name 'spconv_utils' from 'spconv' (/home/jimmy15923/mnt/project_code/One-Thing-One-Click/3D-U-Net/spconv/__init__.py)
And I can import spconv in the upper repo. Should I remove the original
spconv after installation?
[image: image]
<https://user-images.githubusercontent.com/55061120/137864678-9bd61788-6fd7-4906-a6e7-c1a2898bdf7a.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7WPDDCT5G5LW77DHNVASTUHUOBHANCNFSM5GIN3RGQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi @liuzhengzhe Thanks for your quick response. I have replaced the original spconv with a newly built one. But
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @liuzhengzhe!,
I have followed all the steps to successfully install the
spconv
and import it without any problems, includingfrom spconv import spconv_utils
. However, I cannot importspconv
inside the model repo (3D-U-Net, merge, relation). The error message is shown below.And I can import
spconv
in the upper repo. Should I remove the originalspconv
after installation? Thank youThe text was updated successfully, but these errors were encountered: