scaomath commited on
Commit
0aaa6dd
·
verified ·
1 Parent(s): 7dcbc75

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -46,6 +46,12 @@ inverse cascade.
46
  - [The classical Kolmogorov inverse cascade with a solenoidal forcing and small drag.](https://github.com/scaomath/torch-cfd/blob/main/examples/Kolmogrov2d_rk4_cn_forced_turbulence.ipynb)
47
  - [The fast training using the data with a small number of vortices.](https://github.com/scaomath/torch-cfd/blob/main/examples/ex2_SFNO_train_fnodata.ipynb)
48
  - [The fast converging to the inverse cascade.](https://github.com/scaomath/torch-cfd/blob/main/examples/ex2_SFNO_5ep_spectra.ipynb)
 
 
 
 
 
 
49
 
50
  ## Dataset Structure
51
 
 
46
  - [The classical Kolmogorov inverse cascade with a solenoidal forcing and small drag.](https://github.com/scaomath/torch-cfd/blob/main/examples/Kolmogrov2d_rk4_cn_forced_turbulence.ipynb)
47
  - [The fast training using the data with a small number of vortices.](https://github.com/scaomath/torch-cfd/blob/main/examples/ex2_SFNO_train_fnodata.ipynb)
48
  - [The fast converging to the inverse cascade.](https://github.com/scaomath/torch-cfd/blob/main/examples/ex2_SFNO_5ep_spectra.ipynb)
49
+ - **Note:** Due to the change of how `torch.load()` treat serialization, the data would not be loaded directly by calling `torch.load`. If you plan to use it, you can add the following code after the imports:
50
+ ```python
51
+ torch.serialization.add_safe_globals([defaultdict])
52
+ torch.serialization.add_safe_globals([list])
53
+ ```
54
+
55
 
56
  ## Dataset Structure
57