fvcore is a lightweight utility library that factors out common performance-minded components used across Facebook/Meta computer-vision codebases. It provides numerics and loss layers (e.g., focal loss, smooth-L1, IoU/GIoU) implemented for speed and clarity, along with initialization helpers and normalization layers for building PyTorch models. Its common modules include timers, logging, checkpoints, registry patterns, and configuration helpers that reduce boilerplate in research code. A standout capability is FLOP and activation counting, which analyzes arbitrary PyTorch graphs to report cost by operator and by module for precise profiling. The file I/O layer (PathManager) abstracts local/remote storage so the same code can read from disks, cloud buckets, or HTTP endpoints. Because it is small, stable, and well-tested, fvcore is frequently imported by projects like Detectron2 and PyTorchVideo to avoid duplicating infrastructure and to keep research repos.

Features

  • Fast PyTorch losses and layers commonly used in detection and segmentation
  • FLOP and activation analysis tools for detailed computational profiling
  • Checkpoint, logging, timing, and registry utilities for clean training loops
  • PathManager abstraction for uniform local and remote file I/O
  • Weight initialization helpers and normalization utilities
  • Small, modular design that’s easy to cherry-pick into research projects

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow fvcore

fvcore Web Site

Other Useful Business Software
The Leading All-In-One Vacation Rental Software for Property Managers Icon
The Leading All-In-One Vacation Rental Software for Property Managers

Hostaway helps you grow your property management business by automating and streamlining every aspect of your business

The dashboard and mobile app allows users to manage their marketing, sales, accounting, reporting, payment and communication needs all in one place. As premium partners of channels such as VRBO, Booking.com, Airbnb, Homeaway and Expedia, with the ability to manage advanced setups, no other platform gives you the type of control and peace of mind that a Hostaway user has. The software is designed with teams in mind - it's easy to train staff and keep them happy while improving business at the same time! Hostaway also provides a booking engine, wordpress website and both marketing and sales tools for managing your valuable direct bookings.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of fvcore!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2025-10-07