Skip to content

Commit

Permalink
Merge pull request #520 from ModECI/nml_examples
Browse files Browse the repository at this point in the history
Updates to actions; regenerated some images
  • Loading branch information
pgleeson authored Mar 21, 2024
2 parents d83e34c + f1d43e2 commit 067ff41
Show file tree
Hide file tree
Showing 13 changed files with 216,507 additions and 216,505 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: pre-commit/action@v3.0.0
- uses: pre-commit/action@v3.0.1
with:
extra_args: --hook-stage manual --all-files

Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
- name: Build sdist and wheel
run: pipx run --spec build pyproject-build

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist

Expand Down
1 change: 1 addition & 0 deletions examples/MDF/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
)

import sys
import os


def main():
Expand Down
1 change: 1 addition & 0 deletions examples/MDF/states.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from modeci_mdf.mdf import *
import sys
import os


def main():
Expand Down
2 changes: 1 addition & 1 deletion examples/PyTorch/simple_pytorch_to_mdf.json
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,6 @@
}
}
},
"onnx_opset_version": 14
"onnx_opset_version": 17
}
}
Binary file modified examples/TensorFlow/Keras/IRIS/keras_to_MDF.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/TensorFlow/Keras/IRIS/keras_to_MDF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/TensorFlow/Keras/IRIS/model_on_iris_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/TensorFlow/Keras/MNIST/keras_to_MDF.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
218,366 changes: 109,183 additions & 109,183 deletions examples/TensorFlow/Keras/MNIST/keras_to_MDF.json

Large diffs are not rendered by default.

Binary file modified examples/TensorFlow/Keras/MNIST/keras_to_MDF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
214,634 changes: 107,317 additions & 107,317 deletions examples/TensorFlow/Keras/MNIST/keras_to_MDF.yaml

Large diffs are not rendered by default.

Binary file modified examples/TensorFlow/Keras/MNIST/model_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/TensorFlow/Keras/regenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ cd MNIST

python keras_model.py -nogui

python keras_to_MDF.py
python keras_to_MDF.py -nogui

cd ../IRIS

python keras_model.py

python keras_to_MDF.py
python keras_to_MDF.py -nogui

0 comments on commit 067ff41

Please sign in to comment.