Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing max-average pooling, and improving 'cutout scheme' #8

Open
DanJbk opened this issue Nov 2, 2021 · 3 comments
Open

Removing max-average pooling, and improving 'cutout scheme' #8

DanJbk opened this issue Nov 2, 2021 · 3 comments

Comments

@DanJbk
Copy link
Contributor

DanJbk commented Nov 2, 2021

The max-average pooling 'trick' doesn't have a theoretical basis to give better results that I know of. The reason it might be improving results could be due to the increased number of large crops from the image when using it.

A better solution would be to add the cropping scheme from BigSleep, which adds a bias for larger crops and improves results coherence significantly.

@StellaAthena
Copy link
Member

The max-average pooling 'trick' doesn't have a theoretical basis to give better results that I know of. The reason it might be improving results could be due to the increased number of large crops from the image when using it.

A better solution would be to add the cropping scheme from BigSleep, which adds a bias for larger crops and improves results coherence significantly.

Do you think that we should just remove the current augmentation approach all together and just using BigSleep's crops? Or, do you want to preserve the non-cropping augmentations and only remove the cropping ones? Either way, I strongly support you making a branch featuring these changes.

@DanJbk
Copy link
Contributor Author

DanJbk commented Nov 3, 2021

Do you think that we should just remove the current augmentation approach all together and just using BigSleep's crops? Or, do you want to preserve the non-cropping augmentations and only remove the cropping ones? Either way, I strongly support you making a branch featuring these changes.

We Ideally we should run automated tests for what the best augmentations and hyper parameters are. I think we can and should change the cropping scheme to the big sleep ones. I've made a branch where I removed the average-max pooling and added the bigsleep crops https://github.com/EleutherAI/vqgan-clip/tree/Develop-1

@StellaAthena
Copy link
Member

I’m down to merge this into master unless someone has an objection?

@LouisCastricato @crowsonkb @neverix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants