Skip to content

Error in restore_model #262

Description

@gralliry
Traceback (most recent call last):
  File "D:\Code\Python\SRGAN\train.py", line 46, in <module>
    VGG = vgg.VGG19(pretrained=True, end_with='pool4', mode='dynamic')
  File "D:\Code\Python\SRGAN\vgg.py", line 263, in vgg19
    restore_model(model, layer_type='vgg19')
  File "D:\Code\Python\SRGAN\vgg.py", line 174, in restore_model
    logging.info("  Loading %s in %s" % (str(val[1][0].shape), val[0]))
IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions