Data for Colab / colorblind setting

This commit is contained in:
AleDinve
2024-10-28 11:58:47 +01:00
committed by Nicola Demo
parent 6ba98885e3
commit a5e326c927
21 changed files with 53 additions and 4 deletions

View File

@@ -31,9 +31,14 @@
" IN_COLAB = False\n",
"if IN_COLAB:\n",
" !pip install \"pina-mathlab\"\n",
" # get the data\n",
" !mkdir \"data\"\n",
" !wget \"https://github.com/mathLab/PINA/blob/master/tutorials/tutorial10/dat/Data_KS.mat\" -O \"data/Data_KS.mat\"\n",
" !wget \"https://github.com/mathLab/PINA/blob/master/tutorials/tutorial10/dat/Data_KS2.mat\" -O \"data/Data_KS2.mat\"\n",
"\n",
"import torch\n",
"import matplotlib.pyplot as plt\n",
"plt.style.use('tableau-colorblind10')\n",
"from scipy import io\n",
"from pina import Condition, LabelTensor\n",
"from pina.problem import AbstractProblem\n",