GithubHelp home page GithubHelp logo

how to set "dirs"? about dsb2018_topcoders HOT 6 CLOSED

selimsef avatar selimsef commented on August 14, 2024
how to set "dirs"?

from dsb2018_topcoders.

Comments (6)

dpei avatar dpei commented on August 14, 2024 1

hi @Bonsen , If you want to set up "train_dir", "mask_dir" and "label_dir" in your directory, you might have to:

  1. Move /train_stage1 (downloaded from Kaggle) directory to ~/dsb2018_topcoders/data/
  2. Change line 15 in create_stage1_labels.py to data_folder = path.join(root_data_folder, 'stage1_train').
  3. run this code by type 'python create_stage1_labels.py'
  4. run 'python create_masks.py'

Now you should have 670 files in each of the three folders "train_dir", "mask_dir" and "label_dir"
If that does not work, let me know.

from dsb2018_topcoders.

selimsef avatar selimsef commented on August 14, 2024

default parameters are specified in params.py

from dsb2018_topcoders.

Bonsen avatar Bonsen commented on August 14, 2024

hi, @selimsef
What's the "labels_dir"?
Thanks

from dsb2018_topcoders.

selimsef avatar selimsef commented on August 14, 2024

It was explained in #4

from dsb2018_topcoders.

yfq512 avatar yfq512 commented on August 14, 2024

Hi! @selimsef @dpei what is in folder:"labels_all"? ***.csv?or others?
I run 'python create_masks.py', but nothing product.
Can you show the directory about train data?

from dsb2018_topcoders.

selimsef avatar selimsef commented on August 14, 2024

You can download all the data. Updated readme with dropbox link.

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.