Coder Social home page Coder Social logo

Comments (8)

fanweiya avatar fanweiya commented on June 1, 2024 1

Thanks

from pixellib.

ayoolaolafenwa avatar ayoolaolafenwa commented on June 1, 2024

I did not understand what you meant by changing the learning rate. I did not provide the option to change learning rate in PixelLib. It is only possible to change the target minimum and maximum image shape. Also I cannot access your google drive to check the dataset you used.
I have requested to access your drive with the email [email protected].

from pixellib.

fanweiya avatar fanweiya commented on June 1, 2024

I midified config file.Also, I send you my dataset by email.

from pixellib.

ayoolaolafenwa avatar ayoolaolafenwa commented on June 1, 2024

I midified config file.Also, I send you my dataset by email.

Okay I will check it. By the way next time do not attempt to modify any parameter.

from pixellib.

fanweiya avatar fanweiya commented on June 1, 2024

okay,I will be.

from pixellib.

ayoolaolafenwa avatar ayoolaolafenwa commented on June 1, 2024

I have checked the dataset. The problem is this you do not follow the requirements for training images. I realized that your dataset is made up of two classes (live and dead cells) and there are only 21 images for training and 6 images for testing.
If you read my tutorial on custom training I specified that the minimum images required for training is 300 for each class in a dataset. The nature dataset I used as a sample in this tutorial has two classes, 300 images for each class for training and 100 for each class for testing. The solution is this, you should increase the number of images for each class in your dataset to at least 300 and if possible it should be more than that. You should also train for a longer range of epochs like 100-300 epochs to achieve the lowest validation loss possible.

from pixellib.

fanweiya avatar fanweiya commented on June 1, 2024

I have checked the dataset. The problem is this you do not follow the requirements for training images. I realized that your dataset is made up of two classes (live and dead cells) and there are only 21 images for training and 6 images for testing.

If you read my tutorial on custom training I specified that the minimum images required for training is 300 for each class in a dataset. The nature dataset I used as a sample in this tutorial has two classes, 300 images for each class for training and 100 for each class for testing. The solution is this, you should increase the number of images for each class in your dataset to at least 300 and if possible it should be more than that. You should also train for a longer range of epochs like 100-300 epochs to achieve the lowest validation loss possible.

Although my datasets has few pictures, there are many instances of each picture. I think this is not a problem that can be solved by adding data. And I also trained a lot of epochs, but the loss on the validation set has been rising until infinity.

from pixellib.

ayoolaolafenwa avatar ayoolaolafenwa commented on June 1, 2024

I have checked the dataset. The problem is this you do not follow the requirements for training images. I realized that your dataset is made up of two classes (live and dead cells) and there are only 21 images for training and 6 images for testing.
If you read my tutorial on custom training I specified that the minimum images required for training is 300 for each class in a dataset. The nature dataset I used as a sample in this tutorial has two classes, 300 images for each class for training and 100 for each class for testing. The solution is this, you should increase the number of images for each class in your dataset to at least 300 and if possible it should be more than that. You should also train for a longer range of epochs like 100-300 epochs to achieve the lowest validation loss possible.

Although my datasets has few pictures, there are many instances of each picture. I think this is not a problem that can be solved by adding data. And I also trained a lot of epochs, but the loss on the validation set has been rising until infinity.

I have mentioned the requirements for a successful training and there is nothing else I can advise you to do.

I proposed at least 300 images for each class, you used like 10 images for each class in your dataset and expecting good results. Unfortunately it does not work like this.

from pixellib.

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.