Dataset Viewer
Auto-converted to Parquet Duplicate
repo_id
stringlengths
15
86
file_path
stringlengths
27
180
content
stringlengths
1
1.75M
__index_level_0__
int64
0
0
hf_public_repos
hf_public_repos/pytorch-image-models/CONTRIBUTING.md
*This guideline is very much a work-in-progress.* Contriubtions 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/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/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/README.md
# PyTorch Image Models - [Sponsors](#sponsors) - [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) - ...
0
hf_public_repos
hf_public_repos/pytorch-image-models/avg_checkpoints.py
#!/usr/bin/env python3 """ Checkpoint Averaging Script This script averages all model weights for checkpoints in specified path that match the specified filter wildcard. All checkpoints must be from the exact same model. For any hope of decent results, the checkpoints should be from the same or child (via resumes) tr...
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/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/hubconf.py
dependencies = ['torch'] import timm globals().update(timm.models._registry._model_entrypoints)
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
hf_public_repos
hf_public_repos/pytorch-image-models/mkdocs.yml
site_name: 'Pytorch Image Models' site_description: 'Pretained Image Recognition Models' repo_name: 'rwightman/pytorch-image-models' repo_url: 'https://github.com/rwightman/pytorch-image-models' nav: - index.md - models.md - ... | models/*.md - results.md - scripts.md - training_hparam_examples.md - featu...
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/onnx_export.py
""" ONNX export script Export PyTorch models as ONNX graphs. This export script originally started as an adaptation of code snippets found at https://pytorch.org/tutorials/advanced/super_resolution_with_onnxruntime.html The default parameters work with PyTorch 1.6 and ONNX 1.7 and produce an optimal ONNX graph for h...
0
hf_public_repos
hf_public_repos/pytorch-image-models/onnx_validate.py
""" ONNX-runtime validation script This script was created to verify accuracy and performance of exported ONNX models running with the onnxruntime. It utilizes the PyTorch dataloader/processing pipeline for a fair comparison against the originals. Copyright 2020 Ross Wightman """ import argparse import numpy as np im...
0
hf_public_repos
hf_public_repos/pytorch-image-models/pyproject.toml
[tool.pytest.ini_options] markers = [ "base: marker for model tests using the basic setup", "cfg: marker for model tests checking the config", "torchscript: marker for model tests using torchscript", "features: marker for model tests checking feature extraction", "fxforward: marker for model tests u...
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/requirements-docs.txt
mkdocs mkdocs-material mkdocs-redirects mdx_truly_sane_lists mkdocs-awesome-pages-plugin
0
hf_public_repos
hf_public_repos/pytorch-image-models/requirements.txt
torch>=1.7 torchvision pyyaml huggingface_hub safetensors>=0.2
0
hf_public_repos
hf_public_repos/pytorch-image-models/setup.cfg
[dist_conda] conda_name_differences = 'torch:pytorch' channels = pytorch noarch = True
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
End of preview. Expand in Data Studio

Dataset Card for "hf-stack-v1"

More Information needed

Downloads last month
7