Skip to main content

No project description provided

Project description


PyTorchFI

BackgroundUsageCodeContributingContributorsLicense

Background

PyTorchFI is a runtime perturbation tool for deep neural networks (DNNs), implemented for the popular PyTorch deep learning platform. PyTorchFI enables users to perform perturbation on weights or neurons of a DNN during runtime. It is extremely versatile for dependability and reliability research, with applications including resiliency analysis of classification networks, resiliency analysis of object detection networks, analysis of models robust to adversarial attacks, training resilient models, and for DNN interpertability.

For example, this is an object detection network before a fault injection:

This is the same object detection network after a fault injection:

Download on PyPI here, or take a look at our documentation at pytorchfi.github.io.

Usage

Installing

From Pip

Install using pip install pytorchfi

From Source

Download this repository into your project folder.

Importing

Import the entire package:

import pytorchfi

Import a specific module:

from pytorchfi import core

Code

Structure

The main source code of PyTorchFI is held in pytorchfi, which carries both core and util implementations.

Formatting

All python code is formatted with black.

Contributing

Before contributing, please refer to our contributing guidelines.

Contributors

Funding Sources

This project was funded in part by the Applications Driving Architectures (ADA) Research Center, a JUMP Center co-sponsored by SRC and DARPA, and in collaboration with NVIDIA Research.

License

NCSA License. Copyright © 2020 RSim Research Group.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytorchfi-0.2.1.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

pytorchfi-0.2.1-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page