Skip to content

data augmentation example doesn't run #56

@syoung64

Description

@syoung64
Traceback (most recent call last; use -b to show Scenic internals):
  File "/home/karasu/VerifAI/examples/data_augmentation/classifier.py", line 50, in <module>
    if not client_task.run_client():
  File "/home/karasu/VerifAI/src/verifai/client.py", line 58, in run_client
    sim = self.simulate(sample)
  File "/home/karasu/VerifAI/examples/data_augmentation/classifier.py", line 30, in simulate
    yPred = np.argmax(self.nn.predict(np.array(img))[0]) + 1
  File "/home/karasu/VerifAI/examples/data_augmentation/model/model.py", line 34, in predict
    pix = pix.resize((imageSize, imageSize), Image.ANTIALIAS)
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions