Skip to content

Question in B_W_Photo_Colorization_function.ipynb #1

@WalaaFarouk31

Description

@WalaaFarouk31

Hi, i have a question, could you please explain me, what this part of the code makes exactly? (Each of the lines)

net.getLayer(net.getLayerId('class8_ab')).blobs = [pts_in_hull.astype(np.float32)]
net.getLayer(net.getLayerId('conv8_313_rh')).blobs = [np.full([1, 313], 2.606, np.float32)]

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