Coder Social home page Coder Social logo

Custom dataset about image_segmentation HOT 3 CLOSED

leejunhyun avatar leejunhyun commented on June 27, 2024
Custom dataset

from image_segmentation.

Comments (3)

LeeJunHyun avatar LeeJunHyun commented on June 27, 2024

Dear @Jorisfournel , I appreciate about your interest.

At main.py#L93, you can change the path to your own dataset directory if your dataset already split train/valid/test.
In this case, you should save your ground truth data at TRAIN_PATH_NAME + _GT/,VALID_PATH_NAME + _GT/,TEST_PATH_NAME + _GT/

else, you can change the path of dataset.py#L99, if you have only the split image/groud truth. And then run dataset.py.


or you can use argparser like
main.py --train_path='YOUR_TRAIN_IMG_PATH' --valid_path='YOUR_VALID_IMG_PATH' --test_path='YOUR_TEST_IMG_PATH'
In this case, you also should save your ground truth data at TRAIN_PATH_NAME + _GT/,VALID_PATH_NAME + _GT/,TEST_PATH_NAME + _GT/

or

dataset.py --origin_data_path='CUSTUM_IMAGE_PATH' --'origin_GT_path=CUSTUM_GROUND_TRUTH_PATH'


If it not works, then plz leave more issues anytime :)

from image_segmentation.

LeeJunHyun avatar LeeJunHyun commented on June 27, 2024

If you don't have further questions, I will close the issue. I hope my answer was helpful :)

from image_segmentation.

loaysh2010 avatar loaysh2010 commented on June 27, 2024

Hello,
@LeeJunHyun
I followed your instruction by changing the path to my data in dataset.py L99,100 .. but after running the code I got num of samples= 0 in all folders (train, valid, test)

from image_segmentation.

Related Issues (20)

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.