pyiqa.archs.inceptionscore_arch =============================== .. py:module:: pyiqa.archs.inceptionscore_arch .. autoapi-nested-parse:: Inception score metric, proposed by Salimans, Tim, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. "Improved techniques for training gans." Advances in neural information processing systems 29 (2016). Reference codes: - https://github.com/openai/improved-gan/tree/master/inception_score - https://github.com/sbarratt/inception-score-pytorch Module Contents --------------- .. py:class:: InceptionScore Bases: :py:obj:`torch.nn.Module` Implements the Inception Score (IS) metric. :param dims: The number of dimensions of the Inception-v3 feature representation to use. Must be one of 64, 192, 768, or 2048. Default: 2048. :type dims: int .. attribute:: model The Inception-v3 network used to extract features. :type: nn.Module .. py:method:: forward(img_dir, mode='legacy_tensorflow', splits=10, num_workers=12, batch_size=32, device=torch.device('cuda'), verbose=True, **kwargs)