GithubHelp home page GithubHelp logo

Comments (9)

walynlee avatar walynlee commented on June 8, 2024 2

Hello, I had a similar problem in training.Can someone know?When the batch size is 4 and epoch is 400,I train these model and found it is not like as what the paper said.And I don't know how to solve this problem.

截图

![2021-03-15 15-03-08 的屏幕截图](https://user-images.githubusercontent.com/70092910/111639027-d7cb4800-8835-11eb-9f9a-3b6e8b9278b0.png)

from medical-transformer.

over-star avatar over-star commented on June 8, 2024

is the MedT model have not finish?

from medical-transformer.

jeya-maria-jose avatar jeya-maria-jose commented on June 8, 2024

Hi,

I just tried it again , it is working at my end.

Screenshot from 2021-03-16 11-55-34

These are the versions of the packages in my environment, maybe try downgrading torch to 1.4 from 1.8. Please use the requirements.txt to setup the exact environment.

Screenshot from 2021-03-16 11-57-39

from medical-transformer.

over-star avatar over-star commented on June 8, 2024

i use rtx3060, maybe i can not install torch1.4

from medical-transformer.

over-star avatar over-star commented on June 8, 2024

ok,when i delete a image ,it is fine.maybe the number of image should be Multiple of 4.
after train epoch for 400,i find it that the effect is not very good.

from medical-transformer.

jeya-maria-jose avatar jeya-maria-jose commented on June 8, 2024

Hi,
Can you please elaborate ?

from medical-transformer.

over-star avatar over-star commented on June 8, 2024

image

The third picture is my training model,after train epoch for 600,i find it that the effect is not very good.like this.

if the train image not be Multiple of batch_size .maybe as follow:

image

If I have anyproblem, please point it out in time. Thank you for your work

from medical-transformer.

jeya-maria-jose avatar jeya-maria-jose commented on June 8, 2024

Looks like the training breaks mid-way at your end. The batch size used for the experiment was 4. Will investigate with different batch sizes to check if that is a problem and get back.

from medical-transformer.

jeya-maria-jose avatar jeya-maria-jose commented on June 8, 2024

Hi @walynlee ,

I think 02.png is you have visualized here is different from what is in the dataset, I think the predictions are for a different input. Below is the input, prediction and GT respectively.
Screenshot from 2021-03-18 14-17-13

Also, I will update the exact number of epochs and batch size that gives the best performance for each dataset in the next commit.

from medical-transformer.

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.