Giter Site home page Giter Site logo

Comments (17)

elepp avatar elepp commented on August 27, 2024 1

try to use sigmoid but not rule in the last which is named layer 5

from segdecnet.

eric-tc avatar eric-tc commented on August 27, 2024

Hi,
i have the same behaviour. Did you find an answer?

from segdecnet.

JulienMaille avatar JulienMaille commented on August 27, 2024

Not really, I tried to setup a Google Colab notebook.
https://colab.research.google.com/drive/101HUaOo3PskWp7h6DucR50pIGxO_SX2m
The loss during training doesn't look good to me

from segdecnet.

eric-tc avatar eric-tc commented on August 27, 2024

Hi,

i got it working. When you train the segmentation network please use only the defect inside Train_NG with lr 0.001. Train it for 100 epochs as default. When you train the decision network change the lr=0.1 with Adam or add some lr_scheduler like cycle learning. With these parameters i got both defect and good classification. Let me know if it is working also for you. Thanks

from segdecnet.

JulienMaille avatar JulienMaille commented on August 27, 2024

Ok I will try that. Have you tried training it on your own dataset?

from segdecnet.

eric-tc avatar eric-tc commented on August 27, 2024

Yes i have tried but with no good results

from segdecnet.

SampleW avatar SampleW commented on August 27, 2024

when i using defualt settings in training, the output mask in "testResultSeg" is completely black, no defect was detected,same In all pictures of all epoch (100 epoch ).
How can i fix it.
thanks.

from segdecnet.

ShaneYS avatar ShaneYS commented on August 27, 2024

when i using defualt settings in training, the output mask in "testResultSeg" is completely black, no defect was detected,same In all pictures of all epoch (100 epoch ).
How can i fix it.
thanks.

hi, I have the same problem(the output mask in "testResultDec" is completely black), have you sovled it?

from segdecnet.

eric-tc avatar eric-tc commented on August 27, 2024

Hi @SampleW ,

have you tried with the images provided or with your own dataset?

from segdecnet.

LoveIsAGame avatar LoveIsAGame commented on August 27, 2024

ValueError: num_samples should be a positive integer value, but got num_samples=0
how can i fix it?

from segdecnet.

LoveIsAGame avatar LoveIsAGame commented on August 27, 2024

@eric-tc
@Nefast

from segdecnet.

molyswu avatar molyswu commented on August 27, 2024

@LoveIsAGame
The same problem, how do you solve it?

from segdecnet.

molyswu avatar molyswu commented on August 27, 2024

Tried to python train_segment.py
ValueError: num_samples should be a positive integer value, but got num_samples=0

THANKS

from segdecnet.

molyswu avatar molyswu commented on August 27, 2024

Changed ".jpg" to ".bmp" at dataset.py .

ok

from segdecnet.

1ylwang avatar 1ylwang commented on August 27, 2024

oh,Tried to python train_segment.py is ok, but tried to python train_decision.py is ValueError: num_samples should be a positive integer value, but got num_samples=0, why? how do you solve it?
thanks.

from segdecnet.

 avatar commented on August 27, 2024

try to use sigmoid but not rule in the last which is named layer 5

Still not working. I doubt the implementation can work tbh

from segdecnet.

DCC-lzhy avatar DCC-lzhy commented on August 27, 2024

try to use sigmoid but not rule in the last which is named layer 5

Still not working. I doubt the implementation can work tbh
just no act function,because loss function has the act.

from segdecnet.

Related Issues (17)

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.