MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / test_image_data_preprocess

Method test_image_data_preprocess

python/graphvite/dataset.py:848–850  ·  view source on GitHub ↗
(self, raw_path, save_file)

Source from the content-addressed store, hash-verified

846 return self.load_labels(meta_file, *batch_files)
847
848 def test_image_data_preprocess(self, raw_path, save_file):
849 batch_file = os.path.join(raw_path, "cifar-10-batches-bin/test_batch.bin")
850 return self.load_images(batch_file)
851
852 def test_label_data_preprocess(self, raw_path, save_file):
853 meta_file = os.path.join(raw_path, "cifar-10-batches-bin/batches.meta.txt")

Callers

nothing calls this directly

Calls 1

load_imagesMethod · 0.95

Tested by

no test coverage detected