-
Notifications
You must be signed in to change notification settings - Fork 387
Chapter 13 (CycleGAN) #77
Copy link
Copy link
Open
Description
I met the following error while testing CycleGAN.ipynb of Chapter 13.
NameError Traceback (most recent call last)
<ipython-input-18-af85a4b0ad99> in <cell line: 1>()
----> 1 trn_ds = CycleGANDataset('apples_train', 'oranges_train')
2 val_ds = CycleGANDataset('apples_test', 'oranges_test')
3
4 trn_dl = DataLoader(trn_ds, batch_size=1, shuffle=True, collate_fn=trn_ds.collate_fn)
5 val_dl = DataLoader(val_ds, batch_size=5, shuffle=True, collate_fn=val_ds.collate_fn)
<ipython-input-17-eca7eea9b41b> in __init__(self, apples, oranges)
1 class CycleGANDataset(Dataset):
2 def __init__(self, apples, oranges):
----> 3 self.apples = Glob(apples)
4 self.oranges = Glob(oranges)
NameError: name 'Glob' is not defined
I could not find a source file in which Glob() was defined. Where does Glob() come from?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels