Coder Social home page Coder Social logo

Comments (6)

bittnt avatar bittnt commented on June 3, 2024

We used the same model running on the background for the demo. This could be caused by the scaling issue. If you have an input image with significant large size, demo website will resize them and then feed into the model.

from crfasrnn.

AlexTS1980 avatar AlexTS1980 commented on June 3, 2024

I don't think it is very large, maybe 950x500. Any other possible reason you think?

from crfasrnn.

bittnt avatar bittnt commented on June 3, 2024

If it is a gray input image, the demo script will convert them into 3-channels like image, each channel will be filled with the gray image.

For an image with resolution 950x500, you could try to resize the image into 475x250 (bilinear interpretation and keeping the ratio) and then try the demo script to see if it works the same.

from crfasrnn.

AlexTS1980 avatar AlexTS1980 commented on June 3, 2024

OK, so I use the first image 1502x640 in the script and in the online demo. The result from the demo is far better. When I do it with a color image, overall results are worse, but the gap between demo and script is narrower.

figure_6

figure6_2

figure6_1

from crfasrnn.

nathanin avatar nathanin commented on June 3, 2024

Hi I don't mean to spam this board with complaining, but I am committed to making this repo work for me. I'm seeing similarly terrible results with the sample model, in CPU and GPU mode. Since my runtest fails at the multi stage meanfield test, maybe there's something just wrong with my code? By fail I mean the gradients are always dramatically incorrect for CPU, and the test seemingly gets stuck in GPU mode ( #103 )

from crfasrnn.

KleinYuan avatar KleinYuan commented on June 3, 2024

@nathanin Using an old version of Caffe will have the same result of the demo. I can confirm that. I also met same issue as you, running demo and got a lame results. I think that's because we use a newer version of caffe and need to set the crop offset. I am quite frustrated by the versioning of this repo but by searching around, eventually, still making both training and testing work.

from crfasrnn.

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.