fovi.models package
Optional model architectures and inference loading (fovi[models]).
Modules
- fovi.models.alexnet
- fovi.models.architectures
alexnet2023()fovi_alexnet2023()resnet18()resnet34()resnet50()matched_resnet18()matched_resnet50()fovi_resnet()fovi_resnet9()fovi_resnet9_lowres()fovi_resnet18()fovi_resnet50()fovi_resnet18_lora()fovi_resnet18_lowres()fovi_resnet9_dwsep()fovi_resnet9_dwsep_lowres()fovi_resnet18_dwsep()fovi_resnet18_dwsep_lowres()fovi_vit()fovi_vit_base()fovi_vit_small()fovi_vit_tiny()vit()vit_base()vit_small()vit_tiny()vit_custom()fovi_vit_custom()fovi_dinov3()arch_wrapper()ArchitectureRegistry
- fovi.models.convnextv2
- fovi.models.dinov3
- fovi.models.fovinet
FoviNetFoviNet.__init__()FoviNet.init_fixation_system()FoviNet.get_in_channels()FoviNet.get_repr_sizes()FoviNet.to()FoviNet.forward_ssl()FoviNet.forward_supervised()FoviNet.forward()FoviNet.get_transforms()FoviNet.setup_activation_hooks()FoviNet.get_captured_activations()FoviNet.cleanup_activation_hooks()FoviNet.list_available_layers()FoviNet.get_activations()FoviNet.list_knn_layers()FoviNet.get_num_coords()
- fovi.models.hub
- fovi.models.knnalexnet
- fovi.models.knnconvnextv2
- fovi.models.knnresnet
- fovi.models.knnvit
- fovi.models.loading
SequencePathPath.cwd()Path.home()Path.samefile()Path.iterdir()Path.glob()Path.rglob()Path.absolute()Path.resolve()Path.stat()Path.owner()Path.group()Path.open()Path.read_bytes()Path.read_text()Path.write_bytes()Path.write_text()Path.readlink()Path.touch()Path.mkdir()Path.chmod()Path.lchmod()Path.unlink()Path.rmdir()Path.lstat()Path.rename()Path.replace()Path.symlink_to()Path.hardlink_to()Path.link_to()Path.exists()Path.is_dir()Path.is_file()Path.is_mount()Path.is_symlink()Path.is_block_device()Path.is_char_device()Path.is_fifo()Path.is_socket()Path.expanduser()
GlobalHydraDictConfigOmegaConfOmegaConf.__init__()OmegaConf.structured()OmegaConf.create()OmegaConf.load()OmegaConf.save()OmegaConf.from_cli()OmegaConf.from_dotlist()OmegaConf.merge()OmegaConf.unsafe_merge()OmegaConf.register_resolver()OmegaConf.legacy_register_resolver()OmegaConf.register_new_resolver()OmegaConf.has_resolver()OmegaConf.clear_resolvers()OmegaConf.clear_resolver()OmegaConf.get_cache()OmegaConf.set_cache()OmegaConf.clear_cache()OmegaConf.copy_cache()OmegaConf.set_readonly()OmegaConf.is_readonly()OmegaConf.set_struct()OmegaConf.is_struct()OmegaConf.masked_copy()OmegaConf.to_container()OmegaConf.to_object()OmegaConf.is_missing()OmegaConf.is_interpolation()OmegaConf.is_list()OmegaConf.is_dict()OmegaConf.is_config()OmegaConf.get_type()OmegaConf.select()OmegaConf.update()OmegaConf.to_yaml()OmegaConf.resolve()OmegaConf.missing_keys()
open_dict()HiddenPrintsdefault_model_dirs()load_sharded_state_dict()load_config()find_config()get_model_from_base_fn()
- fovi.models.pretrained_resnet
IterableResNet18_Weightsresnet18()apply_lora()KNNConvLayerKNNConvLayer.__init__()KNNConvLayer._init_conv_like()KNNConvLayer._pad_and_gather_knns()KNNConvLayer._apply_local_rf()KNNConvLayer._apply_local_rf_to_weights()KNNConvLayer.forward()KNNConvLayer.clear_optimized_cache()KNNConvLayer.compute_reference_coords()KNNConvLayer.compute_local_rf()KNNConvLayer.load_conv2d_weights()KNNConvLayer.load_conv3d_weights()
KNNResNetflattened_basic_blocks()load_torchvision_resnet18()load_torchvision_resnet_backbone()prep_fovi_resnet_finetuning()
- fovi.models.probes
- fovi.models.resnet
- fovi.models.vit