ruotianluo/ImageCaptioning.pytorch

Simple Test Collab Notebook No longer Works

AlexanderWeismannn opened this issue · 6 comments

Hi There,

I was attempting to test out the collab notebook but run into ImportError: cannot import name '_C' from 'maskrcnn_benchmark' when stepping through the compilation of each cell. Has anyone else faced this issue and if so did they find a solution for it?

Cheers!

can you try to find if there is any Github issues in the maskrcnn repo?

https://github.com/facebookresearch/maskrcnn-benchmark/issues/1313 Found a similar problem here.

Though examining the code im not sure exactly what should be changed. Ill attach some images below:

image

image

After more investigation there seems to be no issues on the maskrcnn page that are very related to this issue.

use this, to install 1.7.0 pytorch
%pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html

at least the same error won't appear.

Awesome that worked. Running into new issues but ill see if i can fix those / make a new Issue if not. Thanks!