Skip to content

Commit

Permalink
feat: moved blob models inside the repo for test robustness
Browse files Browse the repository at this point in the history
  • Loading branch information
paulnovello committed Apr 23, 2024
1 parent 86e7df0 commit c764ff1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Empty file added assets/pytest_data/.gitkeep
Empty file.
Binary file added assets/pytest_models/blobs_mlp.h5
Binary file not shown.
Binary file added assets/pytest_models/blobs_mlp.pt
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/tests_torch/torch_methods_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

model_path = os.path.expanduser("~/") + ".oodeel/saved_models"
data_path = os.path.expanduser("~/") + ".oodeel/datasets"
model_path = "./assets/pytest_models"
data_path = "./assets/pytest_data"
os.makedirs(model_path, exist_ok=True)
os.makedirs(data_path, exist_ok=True)

Expand Down

0 comments on commit c764ff1

Please sign in to comment.