From 6a632d6140556054b91787f283a5b540ae588c1b Mon Sep 17 00:00:00 2001 From: MacKenzie Mathis Date: Sat, 16 Dec 2023 10:41:07 -0800 Subject: [PATCH 1/3] fix version import --- amadeusgpt/__init__.py | 2 ++ amadeusgpt/main.py | 7 ++++++- amadeusgpt/version.py | 2 +- temp_for_debug.json | 4 ++++ 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 temp_for_debug.json diff --git a/amadeusgpt/__init__.py b/amadeusgpt/__init__.py index 1636019..9163de6 100644 --- a/amadeusgpt/__init__.py +++ b/amadeusgpt/__init__.py @@ -1,2 +1,4 @@ from amadeusgpt.implementation import AnimalBehaviorAnalysis from amadeusgpt.main import AMADEUS + +from amadeusgpt.version import __version__, VERSION diff --git a/amadeusgpt/main.py b/amadeusgpt/main.py index 9720e1c..d9decb6 100644 --- a/amadeusgpt/main.py +++ b/amadeusgpt/main.py @@ -32,8 +32,13 @@ Object, Orientation, Database, + AnimalSeq, + MABE, + Segmentation, + MausHausSeg, + SAM, ) -from amadeusgpt.modules.implementation import * +#from amadeusgpt.modules.implementation import * ########## diff --git a/amadeusgpt/version.py b/amadeusgpt/version.py index 9614ef1..8ecc2d0 100644 --- a/amadeusgpt/version.py +++ b/amadeusgpt/version.py @@ -6,5 +6,5 @@ # # Licensed under Apache 2.0 -__version__ = "0.0.2" +__version__ = "0.1.0" VERSION = __version__ diff --git a/temp_for_debug.json b/temp_for_debug.json new file mode 100644 index 0000000..72f4da8 --- /dev/null +++ b/temp_for_debug.json @@ -0,0 +1,4 @@ +{ + "function_code": "def task_program():\n behavior_analysis = AnimalBehaviorAnalysis()\n keypoints = behavior_analysis.get_keypoints()\n embedding_plot_info = compute_embedding_with_cebra_and_plot_embedding(keypoints, n_dimension=3)\n return embedding_plot_info", + "query": "# Make a 3D CEBRA embedding and plot the embedding \n" +} \ No newline at end of file From 7d38a67eec0225cd363cc0ad10556eae20b5a3e7 Mon Sep 17 00:00:00 2001 From: Mackenzie Mathis Date: Sat, 16 Dec 2023 11:01:47 -0800 Subject: [PATCH 2/3] Update main.py - revert main back... but it will cause failing tests; will open another PR --- amadeusgpt/main.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/amadeusgpt/main.py b/amadeusgpt/main.py index d9decb6..9720e1c 100644 --- a/amadeusgpt/main.py +++ b/amadeusgpt/main.py @@ -32,13 +32,8 @@ Object, Orientation, Database, - AnimalSeq, - MABE, - Segmentation, - MausHausSeg, - SAM, ) -#from amadeusgpt.modules.implementation import * +from amadeusgpt.modules.implementation import * ########## From 41e94e617e5a64d8b2bde771c553d4be5dbb27d2 Mon Sep 17 00:00:00 2001 From: Mackenzie Mathis Date: Sat, 16 Dec 2023 11:02:07 -0800 Subject: [PATCH 3/3] Delete temp_for_debug.json --- temp_for_debug.json | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 temp_for_debug.json diff --git a/temp_for_debug.json b/temp_for_debug.json deleted file mode 100644 index 72f4da8..0000000 --- a/temp_for_debug.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "function_code": "def task_program():\n behavior_analysis = AnimalBehaviorAnalysis()\n keypoints = behavior_analysis.get_keypoints()\n embedding_plot_info = compute_embedding_with_cebra_and_plot_embedding(keypoints, n_dimension=3)\n return embedding_plot_info", - "query": "# Make a 3D CEBRA embedding and plot the embedding \n" -} \ No newline at end of file