Skip to main content

alt-text-1 alt-text-2

Overview

This is the top-level TrojAI RL module. It contains two submodules: datagen and modelgen. datagen contains the reinforcement learning (RL) environments used to generate trojaned models. The modelgen module contains the necessary API functions to generate DRL models from RL environments.

Getting Started

Check out our documentation here: https://trojai.readthedocs.io

This package is designed to be installed via pip, i.e.

pip install trojai_rl

or by cloning the repository and performing a local install (link may need to be updated):

git clone https://github.com/trojai/trojai_rl.git
cd trojai_rl
pip install .

Note that the gym package may require some additional dependencies and support for Windows is still experimental. See: https://github.com/openai/gym for additional details.

Repository Organization

trojai_rl
|   setup.py - Script to install trojai_rl module into Python environment
|   requirements.txt - A list of Python dependencies for pip
│   developers - information for developers
|   notebooks - A directory for Jupyter notebooks with example code
│   scripts - integration scripts showcasing API functionality
└───trojai - top level Python module
    └───datagen - submodule with implemented RL environments
    └───modelgen - model generation submodule
    └───test - top level scripts directory
        └───datagen - contains unittests for the datagen submodule
        └───modelgen - contains unittests for the modelgen submodule

Acknowledgements

This research is based upon work supported in part by the Office of the Director of National Intelligence (ODNI), Intelligence Advanced Research Projects Activity (IARPA). The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies, either expressed or implied, of ODNI, IARPA, or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for governmental purposes notwithstanding any copyright annotation therein.

Metadata

Release files for trojai-rl 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trojai-rl 0.1.1
File Size Uploaded Provenance Actions
trojai_rl-0.1.1.tar.gz 30.7 kB Without provenance Details for trojai_rl-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trojai-rl 0.1.1
File Interpreter ABI Platform Actions
trojai_rl-0.1.1-py3-none-any.whl Python 3 none any Details for trojai_rl-0.1.1-py3-none-any.whl

Total release size: 70.5 kB

Release files / trojai_rl-0.1.1.tar.gz

Download URL trojai_rl-0.1.1.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
88339217a8b76fc1df196a26a29ccb62860ea4e9c29e25cb4264f99f4e6e0194
BLAKE2b-256 checksum
How to use checksums
82f0dd5c0d812f6c457e766f265705c07c3eed3e212cf906e0197eb367f0406b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

Release files / trojai_rl-0.1.1-py3-none-any.whl

Download URL trojai_rl-0.1.1-py3-none-any.whl
Size 39.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2fa70986b9c5e5f8f98225b9c438dd26a7b9f3a3505d5d8264772d3b96309d7
BLAKE2b-256 checksum
How to use checksums
6d216ac4222feeaafb82f2829034b6a10bd2d57e302b93e52cd877f8fd4e69aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

Security for trojai-rl 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page