Comments (10)
I think it is better to unify keywords. I guessed current rules from the codes.
from chainercv.
@yuyu2172 How do think of it? Do you know other implicit rules?
from chainercv.
Thanks for summarizing this.
I have no complaint for everything, but the second one. I think we were discussing on the usage of cls
inside eval_detection
. I think this is under discussion.
Other than that, here are some that I came up.
- For a name of a function or a class,
image
is used. As a name of a variable inside a function,img
is used. - In extensions, models are named as
target
.
from chainercv.
@yuyu2172 thank you. I merged the rules you suggested. I changed the state of usage of class
to "under discussion".
from chainercv.
Copied from #163, these are rules for bounding boxes.
bb
is a(R,)
bbox
is a(R, 4)
bboxes
is a(B, R, 4)
or list of(R_i, 4) i=1, ..., B
.rois
is a(R', 4)
which consists of bounding boxes for multiple images. Assuming that there are B images each containingR_i
bounding boxes,R' = \sum R_i
.rois
comes together with a(R',)
array calledbatch_indices
, which contains batch indices of images to which bounding boxes correspond to.
For images, a similar rule applies like below.
img
is a(C, H, W)
.imgs
is a(B, C, H, W)
or a list of(C, H, W)
.
from chainercv.
@yuyu2172 Thank you. I merged them.
from chainercv.
I think there is another rule.
x
is a variable whose shape can be inferred from context. It can be used only when there is no confusion on its shape.
from chainercv.
I think this naming conventions should be included in the documentation.
Here are some rules I found used in ChainerCV.
prob
is used for probability. If this indicates multi-class probability,cls_prob
is also acceptable. For conveniencecls_
can be omitted.roi_nouns
represents values associated torois
. The shape is(R', ...)
.- In the case when the
batchsize=1
, variables can be renamed asnoun = roi_nouns
.
- In the case when the
Rules specific to instance segmentation should also be documented.
from chainercv.
I think this naming conventions should be included in the documentation.
👍
from chainercv.
Another rule
cls_nouns
is a multi-class version ofnouns
.- ex:
cls_locs
is(B, R, L, 4)
andlocs
is(B, R, 4)
.
- ex:
from chainercv.
Related Issues (20)
- Faster RCNN training result problem HOT 2
- Add a img.resize function in utils HOT 2
- A function to return segmented image HOT 2
- no module named 'chainercv.datasets' HOT 6
- Problems of FCIS HOT 6
- Problem about eval_detection HOT 2
- Accuracy problems of FCIS example HOT 5
- loc_normalize_std in ProposalTargetCreator HOT 5
- yolo/train_v3.py does not work HOT 2
- DirectoryParsingLabelDataset fails to read images with an alpha channel
- Allow empty object bounding box for SSD training
- `neg_iou_thresh_lo` value in `ProposalTargetCreator`
- Is it fixed for loading the trained weights for FPN model? HOT 2
- Change Request in chainercv/examples/fpn/train_multi.py HOT 1
- build wheels for chainerCV failed HOT 1
- can't install environment, invalid channel HOT 3
- "Introduction to Chainer" doc link broken
- Request for train.py for YOLO
- eval_semantic_segmentation and calc_semantic_segmentation_confusion for when we have ignore label
- possible bug in the way that mIoU is computed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chainercv.