Skip to content

Syntax error with Python 3.7.2 #1

@tripleee

Description

@tripleee

I was unable to import this code because of this:

bash$ python -c "import fid"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/keras-fid/fid.py", line 134
    def __init__(self, generator, image_range=, 
                                              ^

I was able to work around this by changing the code to image_range, without an equals sign, but I don't know if that's actually a correct guess as to what the code should actually do.

Perhaps see also https://stackoverflow.com/questions/66114073/error-when-running-install-and-import-from-github

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions