Open yongxinw opened 3 years ago
please set num_classes to 2000000 or 10000000 to compare training speeds.
please set num_classes to 2000000 or 10000000 to compare training speeds.
Thanks for your reply. I tried a model with 600000 classes but still didn't observe meaningful speed gains. I will try with 2000000 or 10000000 now.
I am wondering if setting the config.sample_rate=0.1 is the only change required to use Partial FC? Are there any other flags that need to be set in order to actually use the Partial FC?
Yes, only changed sample_rate
, In general, partial FC can save a lot of GPU memory and computation in the following cases:
You can test 2 millions or more identities training tasks by only changing cfg.num_classes
in the config.py file, and the following results can be reproduced.
we updated a doc for training speed:
hello,have you tried to write npcface or CurricularFace in the form of PFC
we updated a doc for training speed:
hello,have you tried to write npcface or CurricularFace in the form of PFC
I have observed that the under either sample rates, the trianing speeds are almost identical. Is changing the config.sample_rate=0.1 really triggering the partial fc operation? or am I missing something?