gqn-datasets
gqn-datasets copied to clipboard
Fix runtime error induced by #18
https://github.com/deepmind/gqn-datasets/pull/18 creates a runtime NameError
(pops up when you run the demo code). This is a small patch to fix it.
Traceback (most recent call last):
File "demo_code.py", line 5, in <module>
data_reader = DataReader(dataset='rooms_free_camera_no_object_rotations', context_size=5, root=root_path)
File "data_reader.py", line 182, in __init__
for _ in range(num_threads)]
File "data_reader.py", line 182, in <listcomp>
for _ in range(num_threads)]
File "data_reader.py", line 219, in _make_read_op
indices = self._get_randomized_indices(seed)
NameError: name 'seed' is not defined
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
For more information, open the CLA check for this pull request.