Skip to content

Missing blank space in bottom and right side of image generate using make_grid #124

@yanghuanflc

Description

@yanghuanflc

There only has blank space on top and left side of the whole image generate using make_grid. The bottom and right side doesn't have a blank space. I think change line #68 in utils.py can fix this problem:
grid = tensor.new(3, height * ymaps, width * xmaps).fill_(0) ----->
grid = tensor.new(3, height * ymaps + padding, width * xmaps + padding).fill_(0)

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