ImageSmoothing icon indicating copy to clipboard operation
ImageSmoothing copied to clipboard

Batch size 1 and value of Flattening Criterion

Open gitlabspy opened this issue 2 years ago • 1 comments

Great work! I have few questions, can you explain a bit for me please?

  1. Why batch size set to 1?
  2. I try implement it in pytorch and found that the value of Flattening Criterion is pretty big, is that normal?

gitlabspy avatar Oct 17 '22 07:10 gitlabspy

  1. I don't understand either.
  2. Maybe you don't use mean() instead of sum() when you calculate the final loss (Flattening Criterion), which in paper loss divided by total pixel number N. During my pytorch training, Flattening Criterion is converged around 1e-3~1e-2,but I don't get pleasant results yet and still adjust paramaters.

RewindL avatar Nov 09 '22 08:11 RewindL