Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

fix _check_available in SBDInstanceSegmentationDataset #577

Merged
merged 2 commits into from
Apr 19, 2018
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
Expand Up @@ -21,7 +21,7 @@ def _check_available():
'SciPy is not installed in your environment,',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comma at the end of this line causes this error.
I'm not sure, but RuntimeWarning does not matter according to https://github.com/chainer/chainercv/blob/master/chainercv/extensions/vis_report/detection_vis_report.py#L17-L22

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. I updated.

'so the dataset cannot be loaded.'
'Please install SciPy to load dataset.\n\n'
'$ pip install scipy')
'$ pip install scipy', RuntimeWarning)


class SBDInstanceSegmentationDataset(chainer.dataset.DatasetMixin):
Expand Down