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 Error! #2

Closed
Juzz4vijay opened this issue Mar 12, 2020 · 5 comments
Closed

Import Error! #2

Juzz4vijay opened this issue Mar 12, 2020 · 5 comments

Comments

@Juzz4vijay
Copy link

Import Error:

Thanks in advance

Code:

%cd /content/PPDM/src
!python /content/PPDM/src/test_hoi.py --exp_id hoidet_hico_dla --gpus 0 --dataset hico --image_dir images/test2015 --test_with_eval

ERROR:

/content/PPDM/src
Traceback (most recent call last):
File "/content/PPDM/src/test_hoi.py", line 16, in
from detectors.detector_factory import detector_factory
File "/content/PPDM/src/lib/detectors/detector_factory.py", line 5, in
from .hoidet import HoidetDetector
File "/content/PPDM/src/lib/detectors/hoidet.py", line 12, in
from .base_detector import BaseDetector
File "/content/PPDM/src/lib/detectors/base_detector.py", line 11, in
from models.model import create_model, load_model
File "/content/PPDM/src/lib/models/model.py", line 8, in
from .networks.pose_dla_dcn import get_pose_net as get_dla_dcn
File "/content/PPDM/src/lib/models/networks/pose_dla_dcn.py", line 16, in
from .DCNv2.dcn_v2 import DCN
File "/content/PPDM/src/lib/models/networks/DCNv2/dcn_v2.py", line 11, in
from .dcn_v2_func import DCNv2Function
File "/content/PPDM/src/lib/models/networks/DCNv2/dcn_v2_func.py", line 9, in
from ._ext import dcn_v2 as _backend
File "/content/PPDM/src/lib/models/networks/DCNv2/_ext/dcn_v2/init.py", line 3, in
from ._dcn_v2 import lib as _lib, ffi as _ffi
ImportError: /content/PPDM/src/lib/models/networks/DCNv2/_ext/dcn_v2/_dcn_v2.so: undefined symbol: __cudaPopCallConfiguration

@YueLiao
Copy link
Owner

YueLiao commented Mar 13, 2020

This is because Pytorch 0.4.1 does not support cuda>=10.0. So, the solution is to install another version of cuda 9.0.

@Juzz4vijay
Copy link
Author

Can you guide me, how to prepare HOI-A kind of own dataset.?

I've gone through reseearch paper..

But, i need some sample dataset.. it'll give me a clear picture to preparing our own dataset.

1 similar comment
@Juzz4vijay
Copy link
Author

Can you guide me, how to prepare HOI-A kind of own dataset.?

I've gone through reseearch paper..

But, i need some sample dataset.. it'll give me a clear picture to preparing our own dataset.

@YueLiao
Copy link
Owner

YueLiao commented Mar 13, 2020

The 'HOI-A' dataset is an extension and refinement of our proposed 'HOI-W' dataset for the ICCV 2019 PIC workshop HOI detection challenge. The format of 'HOI-A' is the same as 'HOI-W'. You can take the 'HOI-W' dataset as a reference. Moreover, we have provided the 'HICO-Det' annotations, which have been transformed into 'HOI-A' format. You can perform experiments on 'HICO-Det' directly.

@Juzz4vijay
Copy link
Author

Thanks for your valuable response.

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