lpips 0.1.4
-
PyPI https://pypi.org/project/lpips/ Repository https://github.com/richzhang/PerceptualSimilarity -
py.typed -
Coverage
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "Typed" : 0 "Any" : 0 "Untyped" : 237 -
Typables
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "functions" : 63 "classes" : 120 "other" : 0- 19 functions (+0 overloads)
- 44 parameters
- 13 classes
- 38 methods (+0 overloads)
- 82 parameters
- 0 properties
- 38 methods (+0 overloads)
- 4 modules
- 0 attrs
- 19 functions (+0 overloads)
Modules
| Module | Coverage | Coverage (strict) | Typables | Ignores |
|---|---|---|---|---|
lpips |
0.0% | 0.0% | 47 | 0 |
lpips.lpips |
0.0% | 0.0% | 82 | 0 |
lpips.pretrained_networks |
0.0% | 0.0% | 51 | 0 |
lpips.trainer |
0.0% | 0.0% | 57 | 0 |
Incomplete Annotations
lpips (47 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
load_image |
2 | 0 | 0 |
func |
rgb2lab |
3 | 0 | 0 |
func |
np2tensor |
2 | 0 | 0 |
func |
tensor2tensorlab |
4 | 0 | 0 |
func |
l2 |
4 | 0 | 0 |
func |
tensor2vec |
2 | 0 | 0 |
func |
dssim |
4 | 0 | 0 |
func |
im2tensor |
5 | 0 | 0 |
func |
tensor2im |
5 | 0 | 0 |
func |
normalize_tensor |
3 | 0 | 0 |
func |
psnr |
4 | 0 | 0 |
func |
tensor2np |
2 | 0 | 0 |
func |
voc_ap |
4 | 0 | 0 |
func |
tensorlab2tensor |
3 | 0 | 0 |
lpips.lpips (82 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
spatial_average |
3 | 0 | 0 |
meth |
FakeNet.init |
3 | 0 | 0 |
attr |
FakeNet.use_gpu |
1 | 0 | 0 |
attr |
FakeNet.colorspace |
1 | 0 | 0 |
meth |
NetLinLayer.init |
4 | 0 | 0 |
meth |
NetLinLayer.forward |
2 | 0 | 0 |
attr |
NetLinLayer.model |
1 | 0 | 0 |
meth |
Dist2LogitLayer.init |
3 | 0 | 0 |
meth |
Dist2LogitLayer.forward |
4 | 0 | 0 |
attr |
Dist2LogitLayer.model |
1 | 0 | 0 |
meth |
L2.forward |
4 | 0 | 0 |
meth |
BCERankingLoss.init |
2 | 0 | 0 |
meth |
BCERankingLoss.forward |
4 | 0 | 0 |
attr |
BCERankingLoss.net |
1 | 0 | 0 |
attr |
BCERankingLoss.loss |
1 | 0 | 0 |
func |
print_network |
2 | 0 | 0 |
meth |
ScalingLayer.init |
1 | 0 | 0 |
meth |
ScalingLayer.forward |
2 | 0 | 0 |
meth |
LPIPS.init |
12 | 0 | 0 |
meth |
LPIPS.forward |
5 | 0 | 0 |
attr |
LPIPS.pnet_type |
1 | 0 | 0 |
attr |
LPIPS.pnet_tune |
1 | 0 | 0 |
attr |
LPIPS.pnet_rand |
1 | 0 | 0 |
attr |
LPIPS.spatial |
1 | 0 | 0 |
attr |
LPIPS.lpips |
1 | 0 | 0 |
attr |
LPIPS.version |
1 | 0 | 0 |
attr |
LPIPS.scaling_layer |
1 | 0 | 0 |
attr |
LPIPS.L |
1 | 0 | 0 |
attr |
LPIPS.net |
1 | 0 | 0 |
attr |
LPIPS.chns |
1 | 0 | 0 |
attr |
LPIPS.lin0 |
1 | 0 | 0 |
attr |
LPIPS.lin1 |
1 | 0 | 0 |
attr |
LPIPS.lin2 |
1 | 0 | 0 |
attr |
LPIPS.lin3 |
1 | 0 | 0 |
attr |
LPIPS.lin4 |
1 | 0 | 0 |
attr |
LPIPS.lins |
1 | 0 | 0 |
attr |
LPIPS.lin5 |
1 | 0 | 0 |
attr |
LPIPS.lin6 |
1 | 0 | 0 |
func |
upsample |
3 | 0 | 0 |
meth |
DSSIM.forward |
4 | 0 | 0 |
lpips.pretrained_networks (51 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
squeezenet.init |
3 | 0 | 0 |
meth |
squeezenet.forward |
2 | 0 | 0 |
attr |
squeezenet.slice1 |
1 | 0 | 0 |
attr |
squeezenet.slice2 |
1 | 0 | 0 |
attr |
squeezenet.slice3 |
1 | 0 | 0 |
attr |
squeezenet.slice4 |
1 | 0 | 0 |
attr |
squeezenet.slice5 |
1 | 0 | 0 |
attr |
squeezenet.slice6 |
1 | 0 | 0 |
attr |
squeezenet.slice7 |
1 | 0 | 0 |
attr |
squeezenet.N_slices |
1 | 0 | 0 |
meth |
alexnet.init |
3 | 0 | 0 |
meth |
alexnet.forward |
2 | 0 | 0 |
attr |
alexnet.slice1 |
1 | 0 | 0 |
attr |
alexnet.slice2 |
1 | 0 | 0 |
attr |
alexnet.slice3 |
1 | 0 | 0 |
attr |
alexnet.slice4 |
1 | 0 | 0 |
attr |
alexnet.slice5 |
1 | 0 | 0 |
attr |
alexnet.N_slices |
1 | 0 | 0 |
meth |
resnet.init |
4 | 0 | 0 |
meth |
resnet.forward |
2 | 0 | 0 |
attr |
resnet.N_slices |
1 | 0 | 0 |
attr |
resnet.conv1 |
1 | 0 | 0 |
attr |
resnet.bn1 |
1 | 0 | 0 |
attr |
resnet.relu |
1 | 0 | 0 |
attr |
resnet.maxpool |
1 | 0 | 0 |
attr |
resnet.layer1 |
1 | 0 | 0 |
attr |
resnet.layer2 |
1 | 0 | 0 |
attr |
resnet.layer3 |
1 | 0 | 0 |
attr |
resnet.layer4 |
1 | 0 | 0 |
attr |
resnet.net |
1 | 0 | 0 |
meth |
vgg16.init |
3 | 0 | 0 |
meth |
vgg16.forward |
2 | 0 | 0 |
attr |
vgg16.slice1 |
1 | 0 | 0 |
attr |
vgg16.slice2 |
1 | 0 | 0 |
attr |
vgg16.slice3 |
1 | 0 | 0 |
attr |
vgg16.slice4 |
1 | 0 | 0 |
attr |
vgg16.slice5 |
1 | 0 | 0 |
attr |
vgg16.N_slices |
1 | 0 | 0 |
lpips.trainer (57 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
Trainer.name |
1 | 0 | 0 |
meth |
Trainer.initialize |
15 | 0 | 0 |
meth |
Trainer.forward |
4 | 0 | 0 |
meth |
Trainer.optimize_parameters |
1 | 0 | 0 |
meth |
Trainer.clamp_weights |
1 | 0 | 0 |
meth |
Trainer.set_input |
2 | 0 | 0 |
meth |
Trainer.forward_train |
1 | 0 | 0 |
meth |
Trainer.backward_train |
1 | 0 | 0 |
meth |
Trainer.compute_accuracy |
4 | 0 | 0 |
meth |
Trainer.get_current_errors |
1 | 0 | 0 |
meth |
Trainer.get_current_visuals |
1 | 0 | 0 |
meth |
Trainer.save |
3 | 0 | 0 |
meth |
Trainer.save_network |
5 | 0 | 0 |
meth |
Trainer.load_network |
4 | 0 | 0 |
meth |
Trainer.update_learning_rate |
2 | 0 | 0 |
meth |
Trainer.get_image_paths |
1 | 0 | 0 |
meth |
Trainer.save_done |
2 | 0 | 0 |
func |
score_2afc_dataset |
4 | 0 | 0 |
func |
score_jnd_dataset |
4 | 0 | 0 |
Type-Ignore Comments
No type-ignore comments.