committed by
GitHub
parent
6a4febb33a
commit
78ed2a67a2
@@ -1,6 +1,11 @@
|
||||
Tutorial: Resolution of an inverse problem
|
||||
============================================
|
||||
|
||||
|Open In Colab|
|
||||
|
||||
.. |Open In Colab| image:: https://colab.research.google.com/assets/colab-badge.svg
|
||||
:target: https://colab.research.google.com/github/mathLab/PINA/blob/master/tutorials/tutorial7/tutorial.ipynb
|
||||
|
||||
Introduction to the inverse problem
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -33,6 +38,15 @@ In order to achieve both the goals we will need to define an
|
||||
|
||||
.. code:: ipython3
|
||||
|
||||
## routine needed to run the notebook on Google Colab
|
||||
try:
|
||||
import google.colab
|
||||
IN_COLAB = True
|
||||
except:
|
||||
IN_COLAB = False
|
||||
if IN_COLAB:
|
||||
!pip install "pina-mathlab"
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
import torch
|
||||
from pytorch_lightning.callbacks import Callback
|
||||
|
||||
Reference in New Issue
Block a user