Giter Site home page Giter Site logo

Comments (7)

selimsef avatar selimsef commented on September 17, 2024

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.

LXYTSOS avatar LXYTSOS commented on September 17, 2024

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.

selimsef avatar selimsef commented on September 17, 2024

Default parameters are specified in the file params.py

from dsb2018_topcoders.

LXYTSOS avatar LXYTSOS commented on September 17, 2024

Thank you very much.

from dsb2018_topcoders.

LXYTSOS avatar LXYTSOS commented on September 17, 2024

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.

selimsef avatar selimsef commented on September 17, 2024

This code is related to nuclei copy augmentation

from dsb2018_topcoders.

LXYTSOS avatar LXYTSOS commented on September 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.