You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to sample points for finetuning the SimpleClick model using my own sampling algorithm. Therefore i tried to figure out the points format, that's required to use the model.forward(self, image, points) function.
I added some vebose messages but the results where quite confusing to me.
In case of one positive point, I got the following output:
The clicks that my sourcecode provides are in the format (batch_size, max_amount_clicks, 3), where the last dimension stores x_coord, y_coord and (1 for positive clicks and 0 for negative clicks).
Could you please help me to transform my clicks to the required format?
Thanks in advance! :)
The text was updated successfully, but these errors were encountered:
@Crazy-Tony Hi, did you figure out how to transform? You may need to read MultiPointSampler and get_next_points to resolve this issue. Feel free to let me know if you are still unclear about the points format.
@qinliuliuqin Thank you for your answer. The problem for my confusion wasn't the transformation itself. I was able solve my problem 👍
The part that confused me is the first dimension of of the above displayed points tensor. When using the demo.py I loaded one image and noticed later that the BasePredictor handles this image in the demo as 2 images. One is the original and the other one is a flipped version (based on this line). That's the reason why I was quite confused about the flipped points. Will the flipped image and the predicted masks of it be used for some reasons in the demo or is it just nonsense?
Another question from my side: Did evaluate the SimpleClick models on the TimberSeg 1.0 dataset?
I'm trying to sample points for finetuning the SimpleClick model using my own sampling algorithm. Therefore i tried to figure out the points format, that's required to use the model.forward(self, image, points) function.
I added some vebose messages but the results where quite confusing to me.
In case of one positive point, I got the following output:
Adding another positive point, I got the following output:
Providing one negative point:
The clicks that my sourcecode provides are in the format (batch_size, max_amount_clicks, 3), where the last dimension stores x_coord, y_coord and (1 for positive clicks and 0 for negative clicks).
Could you please help me to transform my clicks to the required format?
Thanks in advance! :)
The text was updated successfully, but these errors were encountered: