Skip to content

Commit 24c69fb

Browse files
authored
Create README.md
1 parent 44121ae commit 24c69fb

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

README.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Shift and Flip Invariant Convolutional Neural Networks for Thermo-Fluid Flow Properties Prediction of Laminar Channel Flows
2+
3+
This repository contains the implementation of a shift and flip invariant convolutional neural network (CNN) designed for predicting thermo-fluid flow properties in laminar channel flows. The code enables robust and precise predictions by leveraging periodic boundary conditions.
4+
5+
---
6+
7+
## Conda Environment Setup
8+
9+
To set up the environment for this project using Conda, follow these steps:
10+
11+
1. Create the Conda environment from the provided `.yml` file:
12+
13+
```bash
14+
conda env create -f bwuni.yml
15+
```
16+
17+
2. Activate the new environment:
18+
19+
```bash
20+
conda activate invariant_cnn
21+
```
22+
23+
This environment contains all the required dependencies to run the project code, ensuring compatibility and reproducible experiments.
24+
25+
---
26+
27+
## Getting Started
28+
29+
### Training and Testing the Model
30+
31+
To train and test the periodic invariant CNN, you can execute the following command:
32+
33+
```bash
34+
python3 iv_cnn_periodic_file.py --config train_config.yaml --testing False
35+
```
36+
37+
To run the model for testing purposes only, use:
38+
39+
```bash
40+
python3 iv_cnn_periodic_file.py --config train_config.yaml --testing True
41+
```
42+
43+
### Configuration File
44+
45+
The model's settings (such as hyperparameters and data paths) are defined in the YAML configuration file `train_config.yaml`. Adjust this file as necessary to fit your specific dataset and experiment settings.
46+
47+
---
48+
49+

0 commit comments

Comments
 (0)