Overview of fvcore features
mainfvcore is a lightweight core library providing essential functionality used across FAIR computer vision frameworks like Detectron2, PySlowFast, and ClassyVision. Key features include:
fvcore.nn: Common PyTorch layers, functions, and losses.- FLOP Counting: A hierarchical per-operator FLOP counting tool.
- Parameter Counting: Recursive parameter counting via
fvcore.nn.parameter_count. - BatchNorm Updates: Tools to recompute BatchNorm population statistics via
fvcore.nn.update_bn_stats. - Hyperparameter Scheduling: A stateless, scale-invariant scheduler via
fvcore.common.param_scheduler.ParamScheduler.