Closed thomashenn closed 7 years ago
Oops, thank you for pointing out my mistake. I am working with it with first priority. Please wait a bit...
It seems object coordinates improves accuracy. The code is now fixed. Thank you!
Glad to hear that ! Thank you :+1:
From the article in the "Dealing with pixels" case:
Also, the author (/u/asantoro) confirmed on reddit that objects were of the form: [x, y, v_1, v_2, ..., v_k] where k is the number of kernels and the range of the coordinates x,y doesn't matter. (Reddit link)
So I think in the model, object coordinates should be added to oi and oj. https://github.com/kimhc6028/relational-networks/blob/master/model.py#L53
I believe this should improve performance on questions where the spatial relationship between objects is important (closest, furthest, ...).