File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
utils_cv/action_recognition Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -771,7 +771,7 @@ def ar_vid_path(tmp_session) -> str:
771771def ar_milk_bottle_path (tmp_session ) -> str :
772772 """ Returns the path of the milk bottle action dataset. """
773773 return unzip_url (
774- ar_urls .milk_bottle_action_path ,
774+ ar_urls .milk_bottle_action_minified_path ,
775775 fpath = tmp_session ,
776776 dest = tmp_session ,
777777 exist_ok = True ,
Original file line number Diff line number Diff line change 88import pytest
99import scrapbook as sb
1010
11+ from utils_cv .common .data import unzip_url
1112from utils_cv .action_recognition .data import Urls
1213
1314# Unless manually modified, python3 should be
@@ -33,15 +34,19 @@ def test_00_notebook_run(action_recognition_notebooks):
3334
3435
3536@pytest .mark .notebooks
36- def test_01_notebook_run (action_recognition_notebooks ):
37+ def test_01_notebook_run (
38+ action_recognition_notebooks ,
39+ ar_milk_bottle_path
40+ ):
3741 notebook_path = action_recognition_notebooks ["01" ]
3842 pm .execute_notebook (
3943 notebook_path ,
4044 OUTPUT_NOTEBOOK ,
4145 parameters = dict (
4246 PM_VERSION = pm .__version__ ,
47+ DATA_PATH = ar_milk_bottle_path ,
4348 MODEL_INPUT_SIZE = 8 ,
44- EPOCHS = 2 ,
49+ EPOCHS = 1 ,
4550 BATCH_SIZE = 8 ,
4651 LR = 0.001 ,
4752 ),
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ class Urls:
5454
5555 # testing datasets
5656 milk_bottle_action_path = urljoin (base , "milkBottleActions.zip" )
57+ milk_bottle_action_minified_path = urljoin (
58+ base , "milkBottleActions_minified.zip"
59+ )
5760
5861 # milk bottle action split test files
5962 milk_bottle_action_train_split = urljoin (
You can’t perform that action at this time.
0 commit comments