Skip to content

pfrendl/coord_conv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coord_conv

An evaluation of the approach from the CoordConv Uber paper. Their GitHub page: https://github.com/uber-research/CoordConv/

After skimming through the implementation, I found that the coordinate regression task had been implemented with a model that has no downsampling. This is not evident from the blog post and it surprised me, since the approach is not very practical.

This repository implements a version of the pixel coordinate regression tasks that has downsampling in it. In addtition to the convolutional networks, I have also added a model similar to the one in the Uber implementation, but this one has 1x1 sized kernels, since 3x3 kernels seem to provide no further benefit. I refer to it as an attention-based model, since it can be interpreted as a query mechanism with a single query over pixel-wise feature vectors containing color and position information.

By running main.py, I get the following outputs: overfit_grid uniform_split quadrant_split

CoordConv seems to be disadvantageous when downsampling is involved, and none of the models can solve the quadrant split experiment. Moreover, regular convolution perfroms quite well in the overfitting task and the uniform split task. The attention-based model exhibits a partial generalization ability on the quadrant split task.

About

An evaluation of the approach from the CoordConv Uber paper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages