Shortcuts

InceptionV3

class mmedit.evaluation.functional.InceptionV3(output_blocks=[3], resize_input=True, normalize_input=True, requires_grad=False, use_fid_inception=True, load_fid_inception=True)[source]

Pretrained InceptionV3 network returning feature maps.

forward(inp)[source]

Get Inception feature maps.

Parameters

inp (torch.Tensor) – Input tensor of shape Bx3xHxW. Values are expected to be in range (0, 1)

Returns

Corresponding to the selected output block, sorted ascending by index.

Return type

list(torch.Tensor)

Read the Docs v: zyh/doc-notfound-extend
Versions
master
latest
stable
zyh-doc-notfound-extend
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.