SaulLu commited on
Commit
5a3df12
1 Parent(s): d97c5ae

change random seed to match the splits of `facebookresearch/vissl`

Browse files
Files changed (1) hide show
  1. 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(1234)
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