FCIS icon indicating copy to clipboard operation
FCIS copied to clipboard

HI,when the code release,i have waiting for a long time.

Open zhangyunming opened this issue 7 years ago • 17 comments

RUTI

zhangyunming avatar Feb 21 '17 07:02 zhangyunming

Sorry for the delay. We will put all the effort in code release after ICCV deadline. Hopefully, it can be done in April.

daijifeng001 avatar Feb 21 '17 07:02 daijifeng001

If the code is based on Caffe, could you publish the trainval.prototxt before the full code release? Maybe even the prototxt would answer many questions about module connectivity.

vadimkantorov avatar Feb 26 '17 23:02 vadimkantorov

Hi - is there an update on the availability of the code. Even if just the caffe trained weights would be great!

griff4692 avatar Apr 18 '17 21:04 griff4692

I wonder who will first release the codes, Mask R-CNN or FCIS?

1292765944 avatar Apr 19 '17 05:04 1292765944

We have just released the code. We sincerely apologize for the delay. This is due to switching from our internal Caffe version to the public MXNet, which provides good support of fast multi-GPU training & inference.

Enjoy! It is worth noting that:

-FCIS provides a simple, fast and accurate framework for instance segmentation.

-Different from MNC, FCIS performs instance mask estimation and categorization jointly and simultaneously and estimates class-specific masks.

-We did not exploit the various techniques & tricks in the Mask RCNN system, like increasing RPN anchor numbers (from 12 to 15), enlarging the image (shorter side from 600 to 800 pixels), utilizing FPN features and aligned ROI pooling. These techniques & tricks should be orthogonal to our simple baseline.

daijifeng001 avatar May 11 '17 15:05 daijifeng001

At this moment it gives the following error. xxx@deep:~/work/FCIS$ /home/xxx/anaconda2/bin/python ./fcis/demo.py Traceback (most recent call last): File "./fcis/demo.py", line 17, in from utils.image import resize, transform File "/home/xxx/work/FCIS/fcis/../lib/utils/image.py", line 6, in from bbox.bbox_transform import clip_boxes File "/home/xxx/work/FCIS/fcis/../lib/bbox/bbox_transform.py", line 11, in from bbox import bbox_overlaps_cython ImportError: cannot import name bbox_overlaps_cython

alexeyda avatar May 12 '17 16:05 alexeyda

@alexeyda

Did you run sh ./init.sh to build the cython modules? (Following the installation instructions)

HaozhiQi avatar May 12 '17 16:05 HaozhiQi

Yes, I run it before. Hmm, just run it again and now it worked until the following step: Traceback (most recent call last): File "./fcis/demo.py", line 147, in main() File "./fcis/demo.py", line 43, in main sym = sym_instance.get_symbol(config, is_train=False) File "/home/jank/work/FCIS/fcis/symbols/resnet_v1_101_fcis.py", line 799, in get_symbol psroipool_cls_seg = mx.contrib.sym.PSROIPooling(name='psroipool_cls_seg', data=fcis_cls_seg, rois=rois, AttributeError: 'module' object has no attribute 'PSROIPooling'

alexeyda avatar May 12 '17 16:05 alexeyda

Please make sure you installed mxnet with our operators correctly. Check https://github.com/msracver/Deformable-ConvNets/issues/8 for related discussion.

HaozhiQi avatar May 12 '17 16:05 HaozhiQi

Is it possible to provide to a Docker image or a Dockerfile outlining steps involved?

I am working on it but might need couple of days.

ghost avatar May 12 '17 17:05 ghost

@alexeyda Hi I have met the same problem. Do you solve it? I'm sure I have followed the instruction.

JackieXuu avatar May 13 '17 03:05 JackieXuu

@ZhengtianXu Make sure you have copied operator_cxx contents, not the directory itself, into mxnet/src/operators/contrib. i.e
cp -r ${YOUT_FCIS_ROOT}/fcis/operator_cxx/* ${YOUR_MXNET_ROOT}/src/operator/contrib/

dbobrenko avatar May 16 '17 14:05 dbobrenko

@alexeyda hi, have you solved your problem?? I have the same error

lc8631058 avatar Jun 20 '17 10:06 lc8631058

@dbobrenko I followed what you have said, copy all files in operator_cxx to anaconda3/lib/python3.5/site-packages/mxnet/src/operator/contrib/, but it still doesn't work, by the way, how can I recompile mxnet?

lc8631058 avatar Jun 20 '17 10:06 lc8631058

@lc8631058 make sure you have compiled MXNET by yourself (not from pip), and copied these files before the MXNET compilation. For example:

  1. Clone FCIS and MXNET repos as described in readme
  2. Run bash init.sh in FCIS dir
  3. Copy operators: cp ${YOUR_FCIS_ROOT}/fcis/operator_cxx/* ${YOUR_MXNET_ROOT}/src/operator/contrib/
  4. Compile MXNET as described in their instructions

dbobrenko avatar Jun 21 '17 14:06 dbobrenko

@dbobrenko hi, thanks a lot bro! now I run demo.py correctly in Jupyter notebook, but the show_masks function just output the original demo images without any changes, I wonder why?

lc8631058 avatar Jun 25 '17 10:06 lc8631058

@dbobrenko just found the answer in #21 ,thanks!

lc8631058 avatar Jun 25 '17 19:06 lc8631058