GithubHelp home page GithubHelp logo

Comments (5)

Key-lei avatar Key-lei commented on June 9, 2024 1

Thank you for your answer! Currently I changed the split in the dataset of the inference function under the generation.py file in the experiments folder from splits=['train', 'val', 'test'] to splits='synthetic', ran gen-inference I don't know if this principle is causing my problem, but when I run the splits under the original inference, only 91 dense annotations of synthetic are generated. Thanks again for your answer, and I hope to hear from you again if I have any follow-up questions. have a nice life!

from alveolar_canal.

LucaLumetti avatar LucaLumetti commented on June 9, 2024

Hi @Key-lei,
looks like line 204 of experiments.py is empty. I would assume the error is thrown by line 216 of the same file.
If all the data inside the generated dataset is empty, it probably means that something during the Deep Label Expansion (or Generation) phase has gone wrong. If the inference has been performed using checkpoints calculated by you, please check the metrics you obtained in this phase and check that the network didn't overfit on predicting always empty volumes. As I've noticed that you have added/deleted some lines of code, be sure you didn't break anything.

synthetic_loader should be a set of SubjectImage containing the CBCT data of volume contained in the synthetic split together with their generated dense label (as they do not have dense annotations produced by medical experts).

from alveolar_canal.

Key-lei avatar Key-lei commented on June 9, 2024

Thank you for your reply! Also, I noticed that after executing gen-training.yaml and executing gen-inference.yaml some of the patients under the sparse file generated generated.npy files but still most of the patients did not have generated.npy is this the cause of the error? I kept all the code the same as you provided and executed gen-training.yaml and gen-inference.yaml in order and it worked, but when I executed seg-pretraining.yaml I got an error.

from alveolar_canal.

LucaLumetti avatar LucaLumetti commented on June 9, 2024

I noticed that after executing gen-training.yaml and executing gen-inference.yaml some of the patients under the sparse file generated generated.npy files but still most of the patients did not have generated.npy

All the patients in the synthetic split must have a generated.npy file before the execution of seg-pretraining.py. Patients in the other three sets (val, train, test) do not require a generated.npy file as they all have dense annotations produced by medical experts (thus better than the one the networks generate).

Please report me the logs generated during the execution of gen-training.yaml and gen-inference.yaml, as well as the final metrics obtained during the gen-training.yaml

from alveolar_canal.

puppy2000 avatar puppy2000 commented on June 9, 2024

Thank you for your answer! Currently I changed the split in the dataset of the inference function under the generation.py file in the experiments folder from splits=['train', 'val', 'test'] to splits='synthetic', ran gen-inference I don't know if this principle is causing my problem, but when I run the splits under the original inference, only 91 dense annotations of synthetic are generated. Thanks again for your answer, and I hope to hear from you again if I have any follow-up questions. have a nice life!

Are you still doing well in the subsequent training process?

from alveolar_canal.

Related Issues (8)

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.