Skip to content

Commit

Permalink
fix filepath in tests
Browse files Browse the repository at this point in the history
issue from folder refactoring
  • Loading branch information
juliagsy committed Jun 6, 2023
1 parent a06d970 commit 45a5462
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ivy_models_tests/resnet/test_resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_resnet_18_img_classification(device, f, fw, batch_shape, load_weights):
this_dir = os.path.dirname(os.path.realpath(__file__))
weight_fpath = os.path.join(
this_dir,
"../ivy_models/resnet/pretrained_weights/resnet_18.pickled",
"../../ivy_models/resnet/pretrained_weights/resnet_18.pickled",
)

# Check if weight file exists
Expand Down
2 changes: 1 addition & 1 deletion ivy_models_tests/transformers/test_transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_perceiver_io_img_classification(
this_dir = os.path.dirname(os.path.realpath(__file__))
weight_fpath = os.path.join(
this_dir,
"../ivy_models/transformers/pretrained_weights/perceiver_io.pickled",
"../../ivy_models/transformers/pretrained_weights/perceiver_io.pickled",
)
assert os.path.isfile(weight_fpath)
# noinspection PyBroadException
Expand Down

0 comments on commit 45a5462

Please sign in to comment.