wannabeog / mask-rcnn Goto Github PK
View Code? Open in Web Editor NEWA PyTorch implementation of the architecture of Mask RCNN
License: Other
A PyTorch implementation of the architecture of Mask RCNN
License: Other
Hi,
in the roialignlayer, Currently only supports batchsize 1?
Python 3 treats IndentationErrors as syntax errors
flake8 testing of https://github.com/wannabeOG/Mask-RCNN on Python 3.6.3
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./model.py:1255:4: E999 IndentationError: unindent does not match any outer indentation level
.
^
1 E999 IndentationError: unindent does not match any outer indentation level
1
Hi!How to load and train cityscapes dataset? Cityscapes dataset has no bounding box, so how do you train it for detection? thanks.
Could you help me with this problem?
ModuleNotFoundError Traceback (most recent call last)
in ()
17 from config import Config
18 import utils
---> 19 import model as modellib
20 import visualize
21 from model import log
~/cell_seg/Mask-RCNN/codes/model.py in ()
15 import utils
16 import visualize
---> 17 from nms.nms_wrapper import nms
18 from roialign.roi_align.crop_and_resize import CropAndResizeFunction
19
~/cell_seg/Mask-RCNN/codes/nms/nms_wrapper.py in ()
9 from future import print_function
10
---> 11 from nms.pth_nms import pth_nms
12
13
~/cell_seg/Mask-RCNN/codes/nms/pth_nms.py in ()
1 import torch
----> 2 from ._ext import nms
3 import numpy as np
4
5 def pth_nms(dets, thresh):
ModuleNotFoundError: No module named 'nms._ext'
Q1.In compute_loss( ) function, rpn_class_loss = utils.compute_rpn_class_loss(rpn_match, rpn_class_logits), but utils.compute_rpn_class_loss() doesn't exist.
Q2.In model.compute_rpn_class_loss(), you use the original cross-entropy instead. The only use of focal loss is in mask.forward(), but it seemed doesn't work.
Looking for your kind reply. Thanks in advance.
Hi,
I want to know accuracy of your implementation.
I run the coco.py, but have this error:
from ._ext import nms
ModuleNotFoundError: No module named 'nms._ext'
can you solve this error, thanks!
Hi, it seems that GPU_COUNT in config.py doesn't work. Is there any way to multi-gpu training? Thanks!
How to apply data augmentation?
Did you have trained another datasets?How did you do?
Is ''mask_rcnn_coco.pth'' in demo.py your trained model?
Is there a link to download?
What's your pytorch's version?
Hi, could you please provide a download link of the pre-trained model: resnet50_imagenet.pth?
Undefined names have the potential to raise NameError at runtime.
flake8 testing of https://github.com/wannabeOG/Mask-RCNN on Python 3.7.0
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./model.py:828:23: F821 undefined name 'parse_image_meta'
_, _, window, _ = parse_image_meta(image_meta)
^
./model.py:989:13: F821 undefined name 'one_hot_embedding'
t = one_hot_embedding(y.data.cpu(), 1+self.num_classes)
^
./model.py:1009:13: F821 undefined name 'one_hot_embedding'
t = one_hot_embedding(y.data.cpu(), 1+self.num_classes)
^
./model.py:1158:22: F821 undefined name 'compute_rpn_class_loss'
rpn_class_loss = compute_rpn_class_loss(rpn_match, rpn_class_logits)
^
./model.py:1225:18: F821 undefined name 'compose_image_meta'
image_meta = compose_image_meta(image_id, shape, window, active_class_ids)
^
./model.py:1389:18: F821 undefined name 'mold_image'
images = mold_image(image.astype(np.float32), self.config)
^
./model.py:1996:28: F821 undefined name 'mold_image'
molded_image = mold_image(molded_image, self.config)
^
./model.py:1998:26: F821 undefined name 'compose_image_meta'
image_meta = compose_image_meta(
^
8 F821 undefined name 'parse_image_meta'
8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.