8000 Variable not defined when running --lowprofile flag and reshape to batch_size issue · Issue #32 · bioinf-jku/TTUR · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Variable not defined when running --lowprofile flag and reshape to batch_size issue #32
Open
@Zemfm

Description

@Zemfm

Hello,

I was experimenting with the --lowprofile flag but an error is thrown saying 'n_images' from line 226 of fid.py is not defined. Likely a typo since the author probably meant to reference n_imgs.

Additionally, line 234 pred_arr[start:end] = pred.reshape(batch_size,-1) will crash if the number of images is not divisible by batch_size. Which is the case with 2048 images and the default batch_size of 50.

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

      0