Coder Social home page Coder Social logo

Comments (6)

watchmexiang avatar watchmexiang commented on August 26, 2024

Hello, I have the same question. Have you trained your data set with it, thank you @zhoutonxgue @hfslyc

from advsemiseg.

Eason270 avatar Eason270 commented on August 26, 2024

Nowadays,Did anyone successfully apply it to the medical image dataset?

from advsemiseg.

colindecourt avatar colindecourt commented on August 26, 2024

Hi,
To apply this code to a medical image dataset you just have to load your own dataset using PyTorch.utils.data package. You can get inspired by the original code used to load VOC or Pascal datasets.
Be carefull to one things, the segmentor is a ResNet network which takes RGB images as input. So convert you grayscale images in RGB before feeding the network and it will works.
I hope this will help you.

from advsemiseg.

Eason270 avatar Eason270 commented on August 26, 2024

Thank you!I will have a try later.Again,thanks for your contribution!

from advsemiseg.

tuscasp avatar tuscasp commented on August 26, 2024

I imagine that it should be enough to pass the argument --data-dir to the train.py script, with the file structure copying the one from VOC2012 and voc_list directories?
Unfortunately, I have been trying to do it but without success so far. Please, share how you manage to use other datasets of yours to the task.

from advsemiseg.

colindecourt avatar colindecourt commented on August 26, 2024

For my work I didn't used the same structure as VOC2012 and voc_list directories. I write a new script just like voc_dataset.py with my own dataset, my own pre-processing functions and include it in the train.py script.
I think you should detach yourself from the original way to load and use the dataset because VOC2012 dataset is quite different from others medical dataset.
I don't know if it helps you. Good luck

from advsemiseg.

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.