Skip to content

Commit

Permalink
Merge pull request intel-analytics#4710 from dding3/fixpythontfparkII
Browse files Browse the repository at this point in the history
add resources for python tfpark
  • Loading branch information
dding3 authored Sep 10, 2021
2 parents 32681f6 + 83c343b commit e239d75
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion python/orca/src/test/bigdl/orca/tfpark/test_tf_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def parse_fn(example):
class TestTFDataset(ZooTestCase):

def get_raw_image_set(self, with_label):
resource_path = os.path.join(os.path.split(__file__)[0], "../../resources")
resource_path = os.path.join(os.path.split(__file__)[0], "../resources")
if with_label:
image_folder = os.path.join(resource_path, "cat_dog")
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

class TestTFParkEstimator(ZooTestCase):
def get_raw_image_set(self, with_label):
resource_path = os.path.join(os.path.split(__file__)[0], "../../resources")
resource_path = os.path.join(os.path.split(__file__)[0], "../resources")
if with_label:
image_folder = os.path.join(resource_path, "cat_dog")
else:
Expand Down

0 comments on commit e239d75

Please sign in to comment.