Skip to main content

Generative models for Reinvent

Project description

Introduction

This is a package to supply all the models used by REINVENT.

Develop

Setup environment

You can use Conda to create an environment with all the necessary packages installed.

$ conda env create -f reinvent_models
[...]
$ conda activate reinvent_models

Run tests

The tests use the unittest package testing framework. Before you can run the tests make sure that you have created a config.jsonfile in the reinvent_models/configs directory. There is an example config in the same directory, which you can base your own config off of. Make sure that you set MAIN_TEST_PATH to a non-existent directory; it is where temporary files will be written during the tests; if it is set to an existing directory, that directory will be removed once the tests have finished.

Once you have created a config file, you can run the tests, located in the testing directory, by running

$ python main_test.py

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

reinvent_models-0.0.7.tar.gz (20.6 kB view hashes)

Uploaded Source

Built Distribution

reinvent_models-0.0.7-py3-none-any.whl (34.4 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