diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-18 13:58:45 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-18 13:58:45 +0200 |
| commit | f8e0319881ab38a5d6bcce280b01ada6ba2cd965 (patch) | |
| tree | d6887904f233bbc3d8c204c940f3567408a25e33 | |
| parent | d9434f84a81c7025e2aa579a5b6e94df1eadd559 (diff) | |
k
| -rw-r--r-- | data/recursive_dataset.py | 3 | ||||
| -rw-r--r-- | test.py | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/data/recursive_dataset.py b/data/recursive_dataset.py index b655147..15151d9 100644 --- a/data/recursive_dataset.py +++ b/data/recursive_dataset.py @@ -31,9 +31,6 @@ class RecursiveDataset(BaseDataset): return {'A': A, 'A_paths': A_path} - def load_data(self): - return self - def __len__(self): return 10000000 @@ -40,6 +40,6 @@ if __name__ == '__main__': cmd = ("/bin/cp", last_image, next_image) process = subprocess.Popen(cmd, stdout=subprocess.PIPE) output, error = process.communicate() - dataset.append(next_image) + dataset.dataset.append(next_image) webpage.save() |
