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

[jsk_recognition_utils] use try to import chainer depend modules #2565

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
from jsk_recognition_utils import chainermodels
from jsk_recognition_utils import color
from jsk_recognition_utils import conversations
from jsk_recognition_utils import datasets
from jsk_recognition_utils import feature
from jsk_recognition_utils import mask
from jsk_recognition_utils import visualize
from jsk_recognition_utils import geometry

try:
from jsk_recognition_utils import chainermodels # NOQA
from jsk_recognition_utils import datasets # NOQA
except ImportError:
print('Please install chainer<7.0.0 to import chainermodels')
knorth55 marked this conversation as resolved.
Show resolved Hide resolved

bounding_box_msg_to_aabb = conversations.bounding_box_msg_to_aabb
rects_msg_to_ndarray = conversations.rects_msg_to_ndarray
Expand Down