Skip to content
This repository was archived by the owner on May 7, 2020. It is now read-only.
This repository was archived by the owner on May 7, 2020. It is now read-only.

Python3 compatibility #13

@amiltonwong

Description

@amiltonwong

Hi, @fvisin ,

Thanks for releasing this useful package. I followed the install instruction. However, when I import dataser_loaders, I got the following error in parallel_loader.py as the following. (Currently, I only need to load Camvid dataset)

(tf_1.0) root@milton-All-Series:/data/code/dataset_loaders/dataset_loaders# python
Python 3.5.2 | packaged by conda-forge | (default, Jan 19 2017, 15:28:33) 
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dataset_loaders
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/code/dataset_loaders/dataset_loaders/__init__.py", line 3, in <module>
    from images.camvid import CamvidDataset  # noqa
  File "/data/code/dataset_loaders/dataset_loaders/images/camvid.py", line 5, in <module>
    from dataset_loaders.parallel_loader import ThreadedDataset
  File "/data/code/dataset_loaders/dataset_loaders/parallel_loader.py", line 519
    raise data_batch[0], data_batch[1], data_batch[2]
                       ^
SyntaxError: invalid syntax

Here is the setting in my config.ini

[camvid]
shared_path = /data/code/SegNet-Tutorial/

The Camvid dataset is located in the following folder structures (screen):
camvid_dataset

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions