change random seed to match the splits of `facebookresearch/vissl`
Browse files- Caltech-101.py +1 -1
Caltech-101.py
CHANGED
@@ -259,7 +259,7 @@ class Caltech101(datasets.GeneratorBasedBuilder):
|
|
259 |
|
260 |
is_train_split = split == "train"
|
261 |
|
262 |
-
rng = np.random.default_rng(
|
263 |
|
264 |
for class_dir in img_dir.iterdir():
|
265 |
class_name = class_dir.name
|
|
|
259 |
|
260 |
is_train_split = split == "train"
|
261 |
|
262 |
+
rng = np.random.default_rng(0)
|
263 |
|
264 |
for class_dir in img_dir.iterdir():
|
265 |
class_name = class_dir.name
|