Skip to content

Commit

Permalink
Merge pull request #9 from CapitalRobotics/adaptive
Browse files Browse the repository at this point in the history
update
  • Loading branch information
torinriley authored Nov 17, 2024
2 parents b11b346 + 8e4b9e0 commit 5c80cb8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions atem_core/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .adaptive import *
from .core import *
6 changes: 6 additions & 0 deletions atem_core/adaptive/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from .test_interp import interpret_model

__all__ = [
"interpret_model",

]
7 changes: 6 additions & 1 deletion atem_core/adaptive/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@
converter = tf.lite.TFLiteConverter.from_keras_model(model)
tflite_model = converter.convert()
with open("adaptive_model.tflite", "wb") as f:
f.write(tflite_model)
f.write(tflite_model)





2 changes: 2 additions & 0 deletions atem_core/core/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .task_gen import generate_task_data
from .interp_test import *

0 comments on commit 5c80cb8

Please sign in to comment.