Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-harmonics
Commits
639e283b
Commit
639e283b
authored
Jun 08, 2023
by
Boris Bonev
Browse files
Minor adjustments to Readme
parent
30d9c494
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
57 deletions
+57
-57
Changelog.md
Changelog.md
+5
-0
README.md
README.md
+4
-4
notebooks/train_sfno.ipynb
notebooks/train_sfno.ipynb
+47
-47
torch_harmonics/examples/sfno/utils/pde_dataset.py
torch_harmonics/examples/sfno/utils/pde_dataset.py
+1
-6
No files found.
Changelog.md
View file @
639e283b
...
@@ -2,6 +2,11 @@
...
@@ -2,6 +2,11 @@
## Versioning
## Versioning
### v0.6.1
*
Cleanup in SFNO code
*
Readme should now render correctly in PyPI
### v0.6.0
### v0.6.0
*
Added SFNO example
*
Added SFNO example
...
...
README.md
View file @
639e283b
...
@@ -29,7 +29,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
...
@@ -29,7 +29,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
-->
<p
align=
"center"
>
<p
align=
"center"
>
<img
src=
"
.
/images/logo/logo.png"
width=
"568"
>
<img
src=
"
https://github.com/NVIDIA/torch-harmonics/blob/main
/images/logo/logo.png"
width=
"568"
>
</p>
</p>
<!-- # torch-harmonics: differentiable harmonic transforms -->
<!-- # torch-harmonics: differentiable harmonic transforms -->
...
@@ -45,9 +45,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
...
@@ -45,9 +45,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<tr>
<td><img
src=
"
.
/images/sfno.gif"
width=
"240"
></td>
<td><img
src=
"
https://github.com/NVIDIA/torch-harmonics/blob/main
/images/sfno.gif"
width=
"240"
></td>
<td><img
src=
"
.
/images/zonal_jet.gif"
width=
"240"
></td>
<td><img
src=
"
https://github.com/NVIDIA/torch-harmonics/blob/main
/images/zonal_jet.gif"
width=
"240"
></td>
<td><img
src=
"
.
/images/allen-cahn.gif"
width=
"240"
></td>
<td><img
src=
"
https://github.com/NVIDIA/torch-harmonics/blob/main
/images/allen-cahn.gif"
width=
"240"
></td>
</tr>
</tr>
<!-- <tr>
<!-- <tr>
<td style="text-align:center; border-style : hidden!important;">
Shallow Water Eqns.
</td>
<td style="text-align:center; border-style : hidden!important;">
Shallow Water Eqns.
</td>
...
...
notebooks/train_sfno.ipynb
View file @
639e283b
This diff is collapsed.
Click to expand it.
torch_harmonics/examples/sfno/utils/pde_dataset.py
View file @
639e283b
...
@@ -34,12 +34,7 @@ import os
...
@@ -34,12 +34,7 @@ import os
from
math
import
ceil
from
math
import
ceil
import
sys
from
...shallow_water_equations
import
ShallowWaterSolver
sys
.
path
.
append
(
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
__file__
)))),
"torch_harmonics"
))
sys
.
path
.
append
(
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
__file__
)))),
"examples"
))
from
shallow_water_equations
import
ShallowWaterSolver
class
PdeDataset
(
torch
.
utils
.
data
.
Dataset
):
class
PdeDataset
(
torch
.
utils
.
data
.
Dataset
):
"""Custom Dataset class for PDE training data"""
"""Custom Dataset class for PDE training data"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment