Skip to main content

remin: Residual Minimizer - Physics Informed Neural Networks

License Python Version PyTorch Version

remin is a Python module that provides a framework for developing Physics Informed Neural Networks (PINNs) using PyTorch. This module integrates PyTorch for model creation and training, Latin-Hypercube sampling for geometry creation, and also includes a small, user-friendly module for creating geometries.

Key Features

  • Implementation of Physics Informed Neural Networks (PINNs) using PyTorch.
  • Support for creating geometries using Latin-Hypercube sampling.
  • Intuitive module for defining and creating complex geometries.
  • Command-line interface (CLI) for simultaneous training of multiple models.

Installation

Prerequisites

Before using remin, you will need to install the following packages:

  • PyTorch (version 2.0.0 or later)
  • NumPy
  • pyDOE (version 0.3.8 or later)

You can install all the requirements using pip, the Python package installer. To install PyTorch, run the following command or follow the instructions on their website to install with GPU support:

pip install torch>=2.0.0

To install NumPy, run the following command:

pip install numpy

To install pyDOE, run the following command:

pip install pyDOE>=0.3.8

Alternatively, you can install these packages using conda or any other package manager of your choice.

Once you have installed these packages, remin can be installed using pip(PyPi):

pip install remin

Usage

To use remin in your Python project, import the necessary modules as follows:

import remin.geometry as rd
import remin.func as rf
import remin.solver.residual_loss as rl
from remin.solver import Solver, make_trainer
from remin.residual import Residual, make_loader

Will be extended in future.


Contributing

If you want to contribute to remin, feel free to submit a pull request or open an issue on GitHub.

License

This project is licensed under the MIT License.

Contact

For any questions, suggestions, or feedback, please feel free to contact the maintainer at [salih.tasdelen@metu.edu.tr].

Thank you for using remin!

Metadata

Release files for remin 0.2.7

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

Source distribution (sdist)

Source distribution for remin 0.2.7
File Size Uploaded
remin-0.2.7.tar.gz 908.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for remin 0.2.7
File Interpreter ABI Platform
remin-0.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 926.3 kB

Release files / remin-0.2.7.tar.gz

Download URL remin-0.2.7.tar.gz
Size 908.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4b8dc5513ca31c094a0b48530adadf8a5f090ec4af2d0fac74ec70b9663539eb
BLAKE2b-256 checksum
How to use checksums
c88b166fa0e35dc8411d2d01bf77f45d65a7412c30cff1c820e21bb738c625cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / remin-0.2.7-py3-none-any.whl

Download URL remin-0.2.7-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ed0bb22f3c834eea46bb83831faf0e4d76cf7ec9b2ee8973a228b10152cefbf
BLAKE2b-256 checksum
How to use checksums
ac38981f3a3946d1a33c63d80afa6abb092c7fa93af09e4c4df17eb59c923225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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