Comments (7)
Labels were generated from original masks. They just represent labeled ground truth masks as a single image, i.e. single channel, different object have different pixel values. PNG could be used as well provided that there are no more than 255 objects on a single image.
from dsb2018_topcoders.
And could you make a list of how many arguments should I pass to train.py
and its meaning? It seems a lot of arguments that used for training are not passed to train.py
according to train_all.sh
such as alias, schedule, etc.
from dsb2018_topcoders.
Default parameters are specified in the file params.py
from dsb2018_topcoders.
Thank you very much.
from dsb2018_topcoders.
I don't quite understand these codes in dsb_binary.py:
img_id = all_ids[i] msk = cv2.imread(os.path.join(masks_dir, '{0}.png'.format(img_id)), cv2.IMREAD_UNCHANGED) lbl = cv2.imread(os.path.join(labels_dir, '{0}.tif'.format(img_id)), cv2.IMREAD_UNCHANGED) tmp = np.zeros_like(msk[..., 0], dtype='uint8') tmp[1:-1, 1:-1] = msk[1:-1, 1:-1, 0] good4copy = list(set(np.unique(lbl[lbl > 0])).symmetric_difference(np.unique(lbl[(lbl > 0) & (tmp == 0)])))
what are the img_id.png and img_id.tif here? and why were you do the symmetric_difference?
from dsb2018_topcoders.
This code is related to nuclei copy augmentation
from dsb2018_topcoders.
Could you be more specific about how to do the nuclei augmentation and create those img_id.png masks and img_id.tif labels?
from dsb2018_topcoders.
Related Issues (18)
- what is folds.csv? HOT 5
- Loss calculation has an index error HOT 5
- License for this repo HOT 1
- Empty nn_models HOT 3
- question HOT 1
- How to mark nucleus with rectangles? HOT 1
- permission denied error
- Which Keras version are you using for the models in folder Selim? HOT 1
- The dropbox link was broken? HOT 1
- AttributeError: 'NoneType' object has no attribute 'Conv2D' HOT 1
- unable to reproduce the masks HOT 2
- auxiliary files: data/folds.csv HOT 1
- lgbm_models
- Unused BCEDiceJaccardLoss in loss.py HOT 1
- how to set "dirs"? HOT 6
- How do the three input folders correspond to each other? HOT 2
- ImportError: cannot import name 'inception_resnet_block' HOT 1
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 dsb2018_topcoders.