NVlabs / ssn_superpixels

Superpixel Sampling Networks (ECCV2018)
https://varunjampani.github.io/ssn/
Other
348 stars 56 forks source link

Question About your paper #3

Closed lxtGH closed 6 years ago

lxtGH commented 6 years ago

when you comput Q Algorithm 1 in your paper, did you use the normalization technique? because the Q seems to be very small.

varunjampani commented 6 years ago

Yes, we normalize Q for computing the updated superpixel centroids (Line-5 in Algo-1). Basically, this is a softmax operation (see lines 84-97 in create_net.py). Is this clear?

lxtGH commented 6 years ago

Thanks for reply, how do you choose the number of iteration? why you choose 5? I found the more iteration, the less discriminative of the centroids of each pixel when searching all pixels for calculating the superpixel centroids. @varunjampani

varunjampani commented 6 years ago

The validation performance usually increases with the number of iterations, both in SLIC and in our modified differentiable SLIC. We choose 5 iterations to make training faster which takes several days. And, we choose 10 iterations for testing as we observe only marginal improvements with more iterations. I could not clearly understand what you mean by 'discriminative of the centroids of each pixel'. Can you explain more clearly what you mean by that?