Why choose num_classes=1008 when creating the model?
See original GitHub issueHello,
Is there a special reason as to why you choose num_classes=1008
instead of using the default value 1000
when creating the model. Refer to: https://github.com/mseitzer/pytorch-fid/blob/master/pytorch_fid/inception.py#L193
Best, Jan
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://github.com/tensorflow/tensorflow/issues/4128#issuecomment-244142481
The original Inception score (https://github.com/openai/improved-gan/) uses the same network (weights) as we use here. On top of that, apparently the original Inception score uses all 1008 classes to compute the score: https://github.com/openai/improved-gan/issues/29. This is a bug.
However, if you want to stay compatible to Inception scores reported earlier, you also need to take this bug into account in your implementation. If you just want to compare different models where you compute the score for all of them yourself, you could consider implementing a slightly improved version of Inception score: https://arxiv.org/pdf/1801.01973.pdf.