未验证 提交 3a2f97a9 编写于 作者: B Bin Lu 提交者: GitHub

Update icartoon_dataset.py

上级 c0af0150
......@@ -29,10 +29,6 @@ class ICartoonDataset(CommonDataset):
with open(self._cls_path) as fd:
lines = fd.readlines()
if seed is not None:
np.random.RandomState(seed).shuffle(lines)
else:
np.random.shuffle(lines)
for l in lines:
l = l.strip().split("\t")
self.images.append(os.path.join(self._img_root, l[0]))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册