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

torch.log(torch.sqrt(h * w) / 224.0) in fpn.py #49

Open
fafancier opened this issue Nov 13, 2019 · 1 comment
Open

torch.log(torch.sqrt(h * w) / 224.0) in fpn.py #49

fafancier opened this issue Nov 13, 2019 · 1 comment

Comments

@fafancier
Copy link

Hi, Thanks for sharing.
I found a line in fpn.py.
"roi_level = torch.log(torch.sqrt(h * w) / 224.0)"

roi_level = torch.log(torch.sqrt(h * w) / 224.0)

It seems torch.log is based on the e rather than 2 in the paper. Is that true?

@CharlesPikachu
Copy link

I think you could set torch.log2 instead

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