Skip to main content

TrojAI RL model generation library

Project description

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.

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

trojai_rl-0.1.0.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

trojai_rl-0.1.0-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file trojai_rl-0.1.0.tar.gz.

File metadata

  • Download URL: trojai_rl-0.1.0.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for trojai_rl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f3121b48cba59cd2a034d54219a776a60f772021795f1a02f24d26d2bc733e79
MD5 c31f2ff7386b908dec0819a7562660b2
BLAKE2b-256 a95fb24a9c81793c027412e5772cf390ca3c5ee5c26d0de95d4031509a77c377

See more details on using hashes here.

Provenance

File details

Details for the file trojai_rl-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: trojai_rl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for trojai_rl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e8a806ffefbedf002e679518064c33b87b12e39a0034ebba347db2bcd2e93d1
MD5 1191406c261d52bc017469112cc43ff4
BLAKE2b-256 e5b062390955b42a4842a15e16a3d082946afc9e072cbbeebf23615231dd1290

See more details on using hashes here.

Provenance

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