# Data-Efficient Inference of Neural Fluid Fields via SciML Foundation Model

1. Create the environment

```Bash
conda create -n hy python=3.9
conda activate hy
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
```

2. Download packges

```Bash
pip install einops ruamel.yaml dadaptation adan_pytorch wandb torchinfo h5py imageio opencv-python timm ipdb
pip install imageio[ffmpeg]
pip install ipdb vtk kornia lpips scikit-image taichi configargparse plyfile opencv-python
pip install imageio[ffmpeg]
```

3. Train

```Bash
cd SciML_codes
frame_num=20
bash train_bi_direction.sh 
```