Git Product home page Git Product logo

Comments (3)

abhiML avatar abhiML commented on July 24, 2024

Hi @svabhishek29 did you resolve this issue?

from vnet.pytorch.

svabhishek29 avatar svabhishek29 commented on July 24, 2024

yes, i did find where the problem was.

it was in the def __getitem_dev(self, index): method of torchbiomed library, specifically the Luna16.py file.

if i remember right the issues was in one of the the 3 if conditions starting at line 417.

if self.transform is not None:
    img = self.transform(img)
if self.target_transform is not None:
    target = self.target_transform(target)
if self.co_transform is not None:
    img, target = self.co_transform(img, target)

I realised that i needed it to behave a bit differently so i wrote my own code, did not fix that problem specifically.

sorry i can't be of much help.

from vnet.pytorch.

abhiML avatar abhiML commented on July 24, 2024

Actually I am having some difficulty on getting the code to run on the dataset (Luna16). Could you very kindly clear a few queries for me?
Does the code do some preprocessing on the dataset or is the script for preprocessing not provided in the code?
How do I run the code on the dataset? Do I use the same directory structure as the Luna16 dataset? What are the changes in the code I have to make to start the training?

Thanks in advance.

from vnet.pytorch.

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.