class CBIR(object):
dataset_dir = "icme"
def __init__(self):
def _check_before_run(self):
if not osp.exists(self.train_dir):
raise RuntimeError("'{}' is not available".format(self.train_dir))
if not osp.exists(self.test_dir):
raise RuntimeError("'{}' is not available".format(self.test_dir))
cbir.py
最新推荐文章于 2024-02-14 11:23:03 发布