Dataset Viewer
Auto-converted to Parquet Duplicate
repo_id
stringlengths
15
89
file_path
stringlengths
27
180
content
stringlengths
1
2.23M
__index_level_0__
int64
0
0
hf_public_repos
hf_public_repos/pytorch-image-models/MANIFEST.in
include timm/models/_pruned/*.txt include timm/data/_info/*.txt include timm/data/_info/*.json
0
hf_public_repos
hf_public_repos/pytorch-image-models/distributed_train.sh
#!/bin/bash NUM_PROC=$1 shift torchrun --nproc_per_node=$NUM_PROC train.py "$@"
0
hf_public_repos
hf_public_repos/pytorch-image-models/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
0
hf_public_repos
hf_public_repos/pytorch-image-models/README.md
# PyTorch Image Models - [What's New](#whats-new) - [Introduction](#introduction) - [Models](#models) - [Features](#features) - [Results](#results) - [Getting Started (Documentation)](#getting-started-documentation) - [Train, Validation, Inference Scripts](#train-validation-inference-scripts) - [Awesome PyTorch Resourc...
0
hf_public_repos
hf_public_repos/pytorch-image-models/model-index.yml
Import: - ./docs/models/*.md Library: Name: PyTorch Image Models Headline: PyTorch image models, scripts, pretrained weights Website: https://rwightman.github.io/pytorch-image-models/ Repository: https://github.com/rwightman/pytorch-image-models Docs: https://rwightman.github.io/pytorch-image-models/ README...
0
hf_public_repos
hf_public_repos/pytorch-image-models/CONTRIBUTING.md
*This guideline is very much a work-in-progress.* Contributions to `timm` for code, documentation, tests are more than welcome! There haven't been any formal guidelines to date so please bear with me, and feel free to add to this guide. # Coding style Code linting and auto-format (black) are not currently in place ...
0
hf_public_repos
hf_public_repos/pytorch-image-models/benchmark.py
#!/usr/bin/env python3 """ Model Benchmark Script An inference and train step benchmark script for timm models. Hacked together by Ross Wightman (https://github.com/rwightman) """ import argparse import csv import json import logging import time from collections import OrderedDict from contextlib import suppress from...
0
hf_public_repos
hf_public_repos/pytorch-image-models/bulk_runner.py
#!/usr/bin/env python3 """ Bulk Model Script Runner Run validation or benchmark script in separate process for each model Benchmark all 'vit*' models: python bulk_runner.py --model-list 'vit*' --results-file vit_bench.csv benchmark.py --amp -b 512 Validate all models: python bulk_runner.py --model-list all --resul...
0
hf_public_repos
hf_public_repos/pytorch-image-models/clean_checkpoint.py
#!/usr/bin/env python3 """ Checkpoint Cleaning Script Takes training checkpoints with GPU tensors, optimizer state, extra dict keys, etc. and outputs a CPU tensor checkpoint with only the `state_dict` along with SHA256 calculation for model zoo compatibility. Hacked together by / Copyright 2020 Ross Wightman (https:...
0
hf_public_repos
hf_public_repos/pytorch-image-models/requirements-dev.txt
pytest pytest-timeout pytest-xdist pytest-forked expecttest
0
hf_public_repos
hf_public_repos/pytorch-image-models/train.py
#!/usr/bin/env python3 """ ImageNet Training Script This is intended to be a lean and easily modifiable ImageNet training script that reproduces ImageNet training results with some of the latest networks and training techniques. It favours canonical PyTorch and standard Python style over trying to be able to 'do it al...
0
hf_public_repos
hf_public_repos/pytorch-image-models/hubconf.py
dependencies = ['torch'] import timm globals().update(timm.models._registry._model_entrypoints)
0
hf_public_repos
hf_public_repos/pytorch-image-models/setup.py
""" Setup """ from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() exec(open('timm/version.py'...
0
hf_public_repos
hf_public_repos/pytorch-image-models/inference.py
#!/usr/bin/env python3 """PyTorch Inference Script An example inference script that outputs top-k class ids for images in a folder into a csv. Hacked together by / Copyright 2020 Ross Wightman (https://github.com/rwightman) """ import argparse import json import logging import os import time from contextlib import su...
0
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
2