No project description provided
Project description
Reinforcement Learning based Shape Optimization (ReLeSO)
Releso is a Library/Framework for
Reinforcement Learning based Shape Optimization. Please look into the
Documentation for information on how it works. The instruction on how the
documentation can be built is given below as well as the instruction on how the
package can be installed.
Alternatively, it can be installed from pip via pip install releso.
Documentation generation
Install and usage instructions are provided in the documentation of the
project. The documentation can be built with the use of sphinx which is a python
tool to generate documentation.
The sphinx packages can either be installed in the project python environment or in a separate environment. If it does not matter in which python environment sphinx is installed ignore the first two lines.
The following command line calls create a conda environment with all necessary dependencies for building the documentation.
(base) $ conda create -n sphinx python=3.11
(base) $ conda activate sphinx
(sphinx) $ pip install ".[docs]"
The documentation is built by executing the following command inside the folder
docs/. After executing the command the documentation should be available
inside the folder docs/build/html/
(sphinx) $ make html
Installation
This section covers the installation process of the framework and its
prerequisites. The first thing to note is that with version 0.1.0 the strict
dependency on splinepy is not present anymore. But if the
geometry is to be parameterized by a Spline and the method of Free Form
Deformation is to be used to deform a mesh, splinepy is still
necessary.
Prerequisites
To use ReLeSO the following packages have to be installed:
- pydantic<2
- stable-baselines3
- tensorboard
- hjson
The
pydanticpackage currently needs to be on version 1.*, we welcome anyone wanting to updaterelesoto the newpydanticversion.
The packages can be installed via pip or conda with the following commands:
pip (activation of the venv should be done beforehand)
(.venv) $ pip install pydantic stable-baselines3 tensorboard hjson
conda
(base) $ conda create -n releso python=3.11 "pydantic<2" tensorboard
(base) $ conda activate releso
(releso) $ pip install stable-baselines3 hjson
If the spline-based shape optimization functionality is needed, the package
splinepy is needed. Please visit
splinepy on github for installation
instructions.
Development
To develop the framework further the sphinx package should also be installed
with the currently used sphinx html theme sphinx_rtd_theme.
This can be done via:
(releso) $ pip install sphinx sphinx_rtd_theme
Framework
After installing all prerequisites the framework itself can be installed by running the command below in the main repository folder.
Non-development
(releso) $ pip install .
Development
(releso) $ pip install -e ".[dev]"
(releso) $ pip install pre-commit
(releso) $ pre-commit install
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file releso-0.2.3.tar.gz.
File metadata
- Download URL: releso-0.2.3.tar.gz
- Upload date:
- Size: 109.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
867c2104229b6389aa19221eff7687d6f5533baa4f1685f0ae0e5dc4552929b0
|
|
| MD5 |
21916e587cbc843efbdc48b74b26376d
|
|
| BLAKE2b-256 |
29fecead93682425eec38ef23af049f562f3275e8c127ba17af8acb6890bd7ed
|
Provenance
The following attestation bundles were made for releso-0.2.3.tar.gz:
Publisher:
publish_pypi.yml on tataratat/releso
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
releso-0.2.3.tar.gz -
Subject digest:
867c2104229b6389aa19221eff7687d6f5533baa4f1685f0ae0e5dc4552929b0 - Sigstore transparency entry: 568412127
- Sigstore integration time:
-
Permalink:
tataratat/releso@f68033d17b1d7b057a3712bd0fa1f577242ac77e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tataratat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@f68033d17b1d7b057a3712bd0fa1f577242ac77e -
Trigger Event:
push
-
Statement type:
File details
Details for the file releso-0.2.3-py3-none-any.whl.
File metadata
- Download URL: releso-0.2.3-py3-none-any.whl
- Upload date:
- Size: 96.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f01481bf953b6c399f93a4a8313386747e614372b43ffb940720c51699d71160
|
|
| MD5 |
ca169d18598a3625f228f1a556cf616d
|
|
| BLAKE2b-256 |
acf7c80ea5d27d1c04b7042bff5016de8fcc2457174b0ddd898610b96ddfe87f
|
Provenance
The following attestation bundles were made for releso-0.2.3-py3-none-any.whl:
Publisher:
publish_pypi.yml on tataratat/releso
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
releso-0.2.3-py3-none-any.whl -
Subject digest:
f01481bf953b6c399f93a4a8313386747e614372b43ffb940720c51699d71160 - Sigstore transparency entry: 568412185
- Sigstore integration time:
-
Permalink:
tataratat/releso@f68033d17b1d7b057a3712bd0fa1f577242ac77e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tataratat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@f68033d17b1d7b057a3712bd0fa1f577242ac77e -
Trigger Event:
push
-
Statement type: