kimhc6028 / relational-networks

Pytorch implementation of "A simple neural network module for relational reasoning" (Relational Networks)
https://arxiv.org/pdf/1706.01427.pdf
BSD 3-Clause "New" or "Revised" License
811 stars 162 forks source link

Generator Problems #21

Closed caffeinism closed 2 years ago

caffeinism commented 5 years ago

I have found that there is a serious problem with the generator. The last commit to this repository has been around a long time, so even if this PR is not merged, I want this to be read by someone who wants to use it.

Since the size of the image is 75x75, it is desirable to fill it with values exceeding 75 ^ 2 + 75 ^ 2 = 11250. However, since this code fills in 999, if distance of each object over sqrt(999), a closest query’s correct answer is target object itself.

So I changed this value to 99999.