Skip to content

Commit

Permalink
updates to tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
jarulraj committed May 9, 2023
1 parent 6f105aa commit 72b454d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 deletions eva/executor/executor_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,7 @@ def handle_if_not_exists(table_info: TableInfo, if_not_exist=False):
raise ExecutorError(err_msg)
# Table does not exist
else:
err_msg = "Table: {} does not exist".format(table_info)
if if_not_exist:
logger.warn(err_msg)
return False
else:
return False
return False


def validate_image(image_path: Path) -> bool:
Expand Down
2 changes: 0 additions & 2 deletions test/integration_tests/test_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,13 @@ def setUpClass(cls):
asl_actions = f"{EVA_ROOT_DIR}/data/actions/computer_asl.mp4"
meme1 = f"{EVA_ROOT_DIR}/data/detoxify/meme1.jpg"
meme2 = f"{EVA_ROOT_DIR}/data/detoxify/meme2.jpg"
meme3 = f"{EVA_ROOT_DIR}/data/detoxify/meme3.jpg"

execute_query_fetch_all(f"LOAD VIDEO '{ua_detrac}' INTO MyVideo;")
execute_query_fetch_all(f"LOAD VIDEO '{mnist}' INTO MNIST;")
execute_query_fetch_all(f"LOAD VIDEO '{actions}' INTO Actions;")
execute_query_fetch_all(f"LOAD VIDEO '{asl_actions}' INTO Asl_actions;")
execute_query_fetch_all(f"LOAD IMAGE '{meme1}' INTO MemeImages;")
execute_query_fetch_all(f"LOAD IMAGE '{meme2}' INTO MemeImages;")
execute_query_fetch_all(f"LOAD IMAGE '{meme3}' INTO MemeImages;")
load_udfs_for_testing()

@classmethod
Expand Down

0 comments on commit 72b454d

Please sign in to comment.