Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 60 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, fetchPypi, # build inputs numpy, yacs, pyyaml, tqdm, termcolor, pillow, tabulate, iopath, shapely, # check inputs torch,}:let pname = "fvcore"; version = "0.1.5.post20221221"; optional-dependencies = { all = [ shapely ]; };inbuildPythonPackage { inherit pname version; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-8vsLuQVyrmUcEceOIEk+0ZsiQFUKfku7LW3oe90DeGA="; };
propagatedBuildInputs = [ numpy yacs pyyaml tqdm termcolor pillow tabulate iopath ];
nativeCheckInputs = [ torch ];
# TypeError: flop_count() missing 2 required positional arguments: 'model' and 'inputs' doCheck = false;
pythonImportsCheck = [ "fvcore" ];
optional-dependencies = optional-dependencies;
meta = { description = "Collection of common code that's shared among different research projects in FAIR computer vision team"; homepage = "https://github.com/facebookresearch/fvcore"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ happysalada ]; };}