text: Search.setIndex({docnames:["homura","homura.callbacks","homura.metrics","homura.modules","homura.modules.functional","homura.utils","homura.vision","homura.vision.data","homura.vision.models","homura.vision.models.classification","homura.vision.models.segmentation","homura.vision.transforms","index","modules"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,"sphinx.ext.viewcode":1,sphinx:56},filenames:["homura.rst","homura.callbacks.rst","homura.metrics.rst","homura.modules.rst","homura.modules.functional.rst","homura.utils.rst","homura.vision.rst","homura.vision.data.rst","homura.vision.models.rst","homura.vision.models.classification.rst","homura.vision.models.segmentation.rst","homura.vision.transforms.rst","index.rst","modules.rst"],objects:{"":{homura:[0,0,0,"-"]},"homura.Map":{copy:[0,2,1,""],deepcopy:[0,2,1,""],keys:[0,2,1,""],to:[0,2,1,""],values:[0,2,1,""]},"homura.TensorTuple":{to:[0,2,1,""]},"homura.callbacks":{base:[1,0,0,"-"],metrics:[1,0,0,"-"],saver:[1,0,0,"-"]},"homura.callbacks.base":{Callback:[1,1,1,""],CallbackList:[1,1,1,""]},"homura.callbacks.base.Callback":{after_all:[1,2,1,""],after_epoch:[1,2,1,""],after_iteration:[1,2,1,""],before_all:[1,2,1,""],before_epoch:[1,2,1,""],before_iteration:[1,2,1,""],close:[1,2,1,""]},"homura.callbacks.base.CallbackList":{after_all:[1,2,1,""],after_epoch:[1,2,1,""],after_iteration:[1,2,1,""],before_epoch:[1,2,1,""],before_iteration:[1,2,1,""],close:[1,2,1,""]},"homura.callbacks.metrics":{AccuracyCallback:[1,1,1,""],IOUCallback:[1,1,1,""],LossCallback:[1,1,1,""],MetricCallback:[1,1,1,""],metric_callback_decorator:[1,3,1,""]},"homura.callbacks.metrics.AccuracyCallback":{accuracy:[1,2,1,""]},"homura.callbacks.metrics.IOUCallback":{after_epoch:[1,2,1,""],cm:[1,2,1,""]},"homura.callbacks.metrics.MetricCallback":{after_epoch:[1,2,1,""],after_iteration:[1,2,1,""],before_epoch:[1,2,1,""],before_iteration:[1,2,1,""],history:[1,2,1,""],reduce:[1,2,1,""],to_cpu:[1,2,1,""]},"homura.callbacks.saver":{WeightSave:[1,1,1,""]},"homura.callbacks.saver.WeightSave":{after_all:[1,2,1,""],after_epoch:[1,2,1,""],save:[1,2,1,""]},"homura.debug":{module_debugger:[0,3,1,""]},"homura.liblog":{disable_default_handler:[0,3,1,""],enable_default_handler:[0,3,1,""],get_logger:[0,3,1,""],get_verb_level:[0,3,1,""],set_file_handler:[0,3,1,""],set_verb_level:[0,3,1,""]},"homura.lr_scheduler":{CosineAnnealingLR:[0,1,1,""],ExponentialLR:[0,1,1,""],LRScheduler:[0,1,1,""],LambdaLR:[0,1,1,""],MultiStepLR:[0,1,1,""],ReduceLROnPlateau:[0,1,1,""],StepLR:[0,1,1,""]},"homura.lr_scheduler.LRScheduler":{scheduler:[0,2,1,""],set_optimizer:[0,2,1,""]},"homura.metrics":{commons:[2,0,0,"-"],segmentation:[2,0,0,"-"]},"homura.metrics.commons":{classwise_accuracy:[2,3,1,""],confusion_matrix:[2,3,1,""],f1_score:[2,3,1,""],false_negative:[2,3,1,""],false_positive:[2,3,1,""],precision:[2,3,1,""],recall:[2,3,1,""],specificity:[2,3,1,""],true_negative:[2,3,1,""],true_positive:[2,3,1,""]},"homura.metrics.segmentation":{binary_as_multiclass:[2,3,1,""],classwise_iou:[2,3,1,""],mean_iou:[2,3,1,""],pixel_accuracy:[2,3,1,""]},"homura.modules":{attention:[3,0,0,"-"],conditional_batchnorm:[3,0,0,"-"],discretization:[3,0,0,"-"],functional:[4,0,0,"-"],miscs:[3,0,0,"-"],regularizer:[3,0,0,"-"],vq:[3,0,0,"-"]},"homura.modules.attention":{KeyValAttention:[3,1,1,""]},"homura.modules.attention.KeyValAttention":{forward:[3,2,1,""]},"homura.modules.conditional_batchnorm":{CategoricalConditionalBatchNorm:[3,1,1,""]},"homura.modules.conditional_batchnorm.CategoricalConditionalBatchNorm":{forward:[3,2,1,""]},"homura.modules.discretization":{GumbelSigmoid:[3,1,1,""],GumbelSoftmax:[3,1,1,""],SemanticHashing:[3,1,1,""],StraightThroughEstimator:[3,1,1,""]},"homura.modules.discretization.GumbelSigmoid":{forward:[3,2,1,""]},"homura.modules.discretization.GumbelSoftmax":{forward:[3,2,1,""]},"homura.modules.discretization.SemanticHashing":{forward:[3,2,1,""]},"homura.modules.discretization.StraightThroughEstimator":{forward:[3,2,1,""]},"homura.modules.functional":{convert:[4,0,0,"-"],discretization:[4,0,0,"-"],grad_approximation:[4,0,0,"-"],knn:[4,0,0,"-"],loss:[4,0,0,"-"],sinkhorn:[4,0,0,"-"]},"homura.modules.functional.convert":{to_onehot:[4,3,1,""]},"homura.modules.functional.discretization":{gumbel_sigmoid:[4,3,1,""],gumbel_softmax:[4,3,1,""],semantic_hashing:[4,3,1,""],straight_through_estimator:[4,3,1,""]},"homura.modules.functional.grad_approximation":{custom_straight_through_estimator:[4,3,1,""]},"homura.modules.functional.knn":{k_nearest_neighbor:[4,3,1,""]},"homura.modules.functional.loss":{cross_entropy_with_softlabels:[4,3,1,""]},"homura.modules.functional.sinkhorn":{get_coupling:[4,3,1,""],sinkhorn:[4,3,1,""]},"homura.modules.miscs":{straight_backprop:[3,3,1,""]},"homura.modules.regularizer":{WSConv2d:[3,1,1,""],convert_ws:[3,3,1,""],weight_standardization:[3,3,1,""]},"homura.modules.regularizer.WSConv2d":{forward:[3,2,1,""]},"homura.modules.vq":{VQModule:[3,1,1,""],moving_average_:[3,3,1,""]},"homura.modules.vq.VQModule":{flatten_input:[3,2,1,""],forward:[3,2,1,""],l2_distance:[3,2,1,""],lookup:[3,2,1,""]},"homura.optim":{ASGD:[0,1,1,""],AdaBound:[0,1,1,""],Adam:[0,1,1,""],Optimizer:[0,1,1,""],RMSProp:[0,1,1,""],SGD:[0,1,1,""]},"homura.optim.Optimizer":{optim:[0,2,1,""],set_model:[0,2,1,""]},"homura.reporters":{LoggerReporter:[0,1,1,""],Reporter:[0,1,1,""],TQDMReporter:[0,1,1,""],TensorboardReporter:[0,1,1,""],VisdomReporter:[0,1,1,""]},"homura.reporters.Reporter":{add_memo:[0,2,1,""],after_all:[0,2,1,""],after_epoch:[0,2,1,""],after_iteration:[0,2,1,""],before_all:[0,2,1,""],before_epoch:[0,2,1,""],before_iteration:[0,2,1,""],close:[0,2,1,""],disable_report_images:[0,2,1,""],disable_report_params:[0,2,1,""],enable_report_images:[0,2,1,""],enable_report_params:[0,2,1,""]},"homura.trainers":{DistributedSupervisedTrainer:[0,1,1,""],SupervisedTrainer:[0,1,1,""],Trainer:[0,4,1,""],TrainerBase:[0,1,1,""]},"homura.trainers.DistributedSupervisedTrainer":{iteration:[0,2,1,""]},"homura.trainers.SupervisedTrainer":{iteration:[0,2,1,""]},"homura.trainers.TrainerBase":{epoch:[0,2,1,""],exit:[0,2,1,""],is_train:[0,2,1,""],iteration:[0,2,1,""],override_iteration:[0,2,1,""],register_after_all:[0,2,1,""],register_after_epoch:[0,2,1,""],register_after_iteration:[0,2,1,""],register_before_all:[0,2,1,""],register_before_epoch:[0,2,1,""],register_before_iteration:[0,2,1,""],resume:[0,2,1,""],run:[0,2,1,""],step:[0,2,1,""],test:[0,2,1,""],train:[0,2,1,""],update_scheduler:[0,2,1,""]},"homura.utils":{Map:[5,1,1,""],TensorTuple:[5,1,1,""],containers:[5,0,0,"-"],environment:[5,0,0,"-"],inferencer:[5,0,0,"-"],miscs:[5,0,0,"-"],reporter_backends:[5,0,0,"-"],reproducibility:[5,0,0,"-"],runner:[5,0,0,"-"],set_deterministic:[5,3,1,""],set_seed:[5,3,1,""]},"homura.utils.Map":{copy:[5,2,1,""],deepcopy:[5,2,1,""],keys:[5,2,1,""],to:[5,2,1,""],values:[5,2,1,""]},"homura.utils.TensorTuple":{to:[5,2,1,""]},"homura.utils.containers":{Map:[5,1,1,""],StepDict:[5,1,1,""],TensorTuple:[5,1,1,""]},"homura.utils.containers.Map":{copy:[5,2,1,""],deepcopy:[5,2,1,""],keys:[5,2,1,""],to:[5,2,1,""],values:[5,2,1,""]},"homura.utils.containers.StepDict":{load_state_dict:[5,2,1,""],state_dict:[5,2,1,""],step:[5,2,1,""],zero_grad:[5,2,1,""]},"homura.utils.containers.TensorTuple":{to:[5,2,1,""]},"homura.utils.environment":{enable_accimage:[5,3,1,""],get_global_rank:[5,3,1,""],get_local_rank:[5,3,1,""],get_num_nodes:[5,3,1,""],get_world_size:[5,3,1,""],init_distributed:[5,3,1,""]},"homura.utils.inferencer":{Inferencer:[5,1,1,""]},"homura.utils.inferencer.Inferencer":{iteration:[5,2,1,""],load:[5,2,1,""],mode:[5,4,1,""],override_iteration:[5,2,1,""],run:[5,2,1,""],test:[5,2,1,""],update_loss_f:[5,2,1,""]},"homura.utils.miscs":{check_path:[5,3,1,""]},"homura.utils.reporter_backends":{LoggerWrapper:[5,1,1,""],TQDMWrapper:[5,1,1,""],TensorBoardWrapper:[5,1,1,""],make_dir:[5,3,1,""],save_image:[5,3,1,""],vector_to_dict:[5,3,1,""]},"homura.utils.reporter_backends.LoggerWrapper":{add_histogram:[5,2,1,""],add_image:[5,2,1,""],add_images:[5,2,1,""],add_scalar:[5,2,1,""],add_scalars:[5,2,1,""],add_text:[5,2,1,""]},"homura.utils.reporter_backends.TQDMWrapper":{add_histogram:[5,2,1,""],add_image:[5,2,1,""],add_images:[5,2,1,""],add_scalar:[5,2,1,""],add_scalars:[5,2,1,""],add_text:[5,2,1,""]},"homura.utils.reporter_backends.TensorBoardWrapper":{add_histogram:[5,2,1,""],add_image:[5,2,1,""],add_images:[5,2,1,""],add_scalar:[5,2,1,""],add_scalars:[5,2,1,""],add_text:[5,2,1,""],close:[5,2,1,""]},"homura.utils.reproducibility":{set_deterministic:[5,3,1,""],set_seed:[5,3,1,""]},"homura.utils.runner":{Runner:[5,1,1,""]},"homura.vision":{cutmix:[6,0,0,"-"],data:[7,0,0,"-"],mixup:[6,0,0,"-"],models:[8,0,0,"-"],transforms:[11,0,0,"-"]},"homura.vision.cutmix":{cutmix:[6,3,1,""],input_cutmix:[6,3,1,""],rand_bbox:[6,3,1,""]},"homura.vision.data":{custom_dataset:[7,0,0,"-"],folder:[7,0,0,"-"],loaders:[7,0,0,"-"],prefetcher:[7,0,0,"-"],statistics:[7,0,0,"-"]},"homura.vision.data.custom_dataset":{TransformableSubset:[7,1,1,""],transformable_random_split:[7,3,1,""]},"homura.vision.data.custom_dataset.TransformableSubset":{update_transforms:[7,2,1,""]},"homura.vision.data.folder":{FolderABC:[7,1,1,""],ImageFolder:[7,1,1,""]},"homura.vision.data.folder.FolderABC":{image_loader:[7,2,1,""]},"homura.vision.data.folder.ImageFolder":{IMG_EXTENSIONS:[7,4,1,""]},"homura.vision.data.loaders":{BaseLoaders:[7,1,1,""],cifar100_loaders:[7,3,1,""],cifar10_loaders:[7,3,1,""],fashion_mnist_loaders:[7,3,1,""],imagenet_loaders:[7,3,1,""],kuzushiji_mnist_loaders:[7,3,1,""],mnist_loaders:[7,3,1,""]},"homura.vision.data.loaders.BaseLoaders":{absolute_root:[7,2,1,""],check_root_exists:[7,2,1,""]},"homura.vision.data.prefetcher":{DataPrefetcher:[7,1,1,""]},"homura.vision.data.prefetcher.DataPrefetcher":{preload:[7,2,1,""]},"homura.vision.data.statistics":{PerChannelStatistics:[7,1,1,""]},"homura.vision.data.statistics.PerChannelStatistics":{estimated:[7,2,1,""],from_batch:[7,2,1,""],from_directory:[7,2,1,""],mean:[7,2,1,""],stdev:[7,2,1,""]},"homura.vision.mixup":{mixup:[6,3,1,""],partial_mixup:[6,3,1,""]},"homura.vision.models":{classification:[9,0,0,"-"],segmentation:[10,0,0,"-"]},"homura.vision.models.classification":{densenet:[9,0,0,"-"],resnet:[9,0,0,"-"],wideresnet:[9,0,0,"-"]},"homura.vision.models.classification.densenet":{CIFARDenseNet:[9,1,1,""],cifar_densenet100:[9,3,1,""]},"homura.vision.models.classification.densenet.CIFARDenseNet":{forward:[9,2,1,""],initialize:[9,2,1,""]},"homura.vision.models.classification.resnet":{PreActResNet:[9,1,1,""],ResNet:[9,1,1,""],preact_resnet110:[9,3,1,""],preact_resnet20:[9,3,1,""],preact_resnet32:[9,3,1,""],preact_resnet56:[9,3,1,""],resnet110:[9,3,1,""],resnet20:[9,3,1,""],resnet32:[9,3,1,""],resnet56:[9,3,1,""]},"homura.vision.models.classification.resnet.PreActResNet":{forward:[9,2,1,""]},"homura.vision.models.classification.resnet.ResNet":{forward:[9,2,1,""],initialize:[9,2,1,""]},"homura.vision.models.classification.wideresnet":{WideBasicModule:[9,1,1,""],WideResNet:[9,1,1,""],wrn28_10:[9,3,1,""],wrn28_2:[9,3,1,""]},"homura.vision.models.classification.wideresnet.WideBasicModule":{forward:[9,2,1,""]},"homura.vision.models.classification.wideresnet.WideResNet":{forward:[9,2,1,""],initialize:[9,2,1,""]},"homura.vision.models.segmentation":{msdnet:[10,0,0,"-"],unet:[10,0,0,"-"]},"homura.vision.models.segmentation.msdnet":{msdnet25:[10,3,1,""],msdnet50:[10,3,1,""]},"homura.vision.models.segmentation.unet":{CustomUNet:[10,1,1,""],unet:[10,3,1,""]},"homura.vision.models.segmentation.unet.CustomUNet":{forward:[10,2,1,""]},homura:{Map:[0,1,1,""],TensorTuple:[0,1,1,""],callbacks:[1,0,0,"-"],debug:[0,0,0,"-"],enable_accimage:[0,3,1,""],get_global_rank:[0,3,1,""],get_local_rank:[0,3,1,""],get_num_nodes:[0,3,1,""],get_world_size:[0,3,1,""],init_distributed:[0,3,1,""],liblog:[0,0,0,"-"],lr_scheduler:[0,0,0,"-"],metrics:[2,0,0,"-"],modules:[3,0,0,"-"],optim:[0,0,0,"-"],reporters:[0,0,0,"-"],trainers:[0,0,0,"-"],utils:[5,0,0,"-"],vision:[6,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","function","Python function"],"4":["py","attribute","Python attribute"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:function","4":"py:attribute"},terms:{"1e6":0,"3rd":0,"44s":0,"abstract":[0,7],"boolean":0,"case":[0,7],"class":[0,1,2,3,4,5,7,9,10],"default":[0,7],"final":0,"float":[0,1,2,3,4,6,9],"function":[0,1,3,9,10,12],"import":0,"int":[0,1,3,4,5,6,7,9],"long":2,"new":0,"return":[0,1,2,3,4,6,7],"static":[1,3,7],"true":[0,2,3,4,5,7],"while":[3,9,10],For:[0,9],One:0,The:[0,4,6,7],Use:0,Using:1,With:0,_batchnorm:3,_metric:1,_type:5,_wrapperbas:[0,5],abc:[0,1,5],abs:[0,3,4],absolute_root:7,acceler:0,accuraci:[1,2],accuracy_test:0,accuracycallback:1,adabound:0,adam:0,adapt:0,add_histogram:5,add_imag:5,add_memo:0,add_scalar:5,add_text:5,added:0,addit:0,affin:3,after:[0,1],after_al:[0,1],after_epoch:[0,1],after_iter:[0,1],afterward:[3,9,10],algorithm:0,alia:0,all:[0,3,7,9,10],alpha:0,although:[3,9,10],amsbound:0,amsgrad:0,analog:0,ani:1,anneal:0,appear:0,appli:0,approxim:0,area_ratio:[],arg:[0,5],argmax:3,argument:0,arrang:7,artist:3,arxiv:[3,4],asgd:0,aspect_ratio:[],assum:[0,6],attent:[0,12,13],attribut:[0,5],averag:[0,1,3],backend:[0,4,5],backward:0,base:[0,3,5,7,9,10,12,13],base_wrapp:0,baseload:7,batch:[3,4,7],batch_siz:7,batchnorm:3,becaus:5,becom:[],been:0,befor:0,before_al:[0,1],before_epoch:[0,1],before_iter:[0,1],benefit:0,best:0,beta:0,between:0,beyond:[0,6],bia:3,binary_as_multiclass:2,blob:9,block:9,bmp:7,bn_size:9,bool:[0,1,3,4,5,7],bottleneck:9,bound:0,bx1xhxw:2,bxcx:[2,4],bxcxhxw:2,bxhxw:2,calcul:[0,2],call:[0,3,9,10],callabl:[0,1,5],callback:[0,5,12,13],callbacklist:1,can:[0,1,5],care:[3,9,10],cat:7,categor:3,categori:3,categoricalconditionalbatchnorm:3,center:0,chang:0,channel:[7,9],check_path:5,check_root_exist:7,cifar100:7,cifar100_load:7,cifar10:7,cifar10_load:7,cifar:[7,9],cifar_densenet100:9,cifardensenet:9,classif:[0,6,7,8],classifi:6,classwis:1,classwise_accuraci:2,classwise_i:2,close:[0,1,5],coeffici:[0,4],collect:[0,1,5],com:9,combin:1,common:[0,12,13],compact:9,comput:[0,3,9,10],condit:3,conditional_batchnorm:[0,12,13],config:10,confus:2,confusion_matrix:2,connect:0,consid:0,constant:0,contain:[0,12,13],content:[12,13],context:5,contrast:0,conv2d:3,conv:3,converg:0,convert:[0,2,3,12],convert_w:3,cooldown:0,copi:[0,5],cos:0,cosin:0,cosineannealinglr:0,cost:4,cours:0,creat:1,cross:4,cross_entropi:4,cross_entropy_with_softlabel:4,cuda:5,cur:0,current:3,custom_dataset:[0,6],custom_straight_through_estim:4,customunet:10,cutmix:[0,12,13],cxc:2,d_1:4,d_2:4,dampen:0,data:[0,1,5,6,9],data_augment:7,data_augmentation_transform:7,data_load:[0,5],data_parallel:0,dataload:[0,5,7],dataprefetch:7,dataset:[7,9],debug:[12,13],decai:0,decor:1,decreas:0,deep:0,deepcopi:[0,5],def:[0,1],defin:[0,3,9,10],denomin:0,denot:0,dens:9,densenet:[0,6,8],deprec:0,depth:9,deriv:3,descent:0,dest:4,destin:4,determinist:5,devic:[0,5],dict:[0,1,5],dict_siz:3,dictionari:5,differ:0,dilat:3,dim:[3,4],dimens:[2,4],dis:0,disable_default_handl:0,disable_report_imag:0,disable_report_param:0,discret:[0,12,13],discrimin:0,distanc:4,distribut:[0,1,7],distributedsupervisedtrain:0,division:9,do_some_random_th:5,document:12,doe:5,dog:7,dot_product:4,dropout:9,dropout_r:9,dropout_ratio:3,duck:0,dumoulin:3,dure:0,dynam:0,dynamic_threshold:0,each:[0,9],effect:5,els:7,emb:3,emb_dim:3,empir:6,emploi:0,enabl:0,enable_accimag:[0,5],enable_amp:0,enable_default_handl:0,enable_report_imag:0,enable_report_param:0,encod:3,entropi:4,env:[0,5],environ:[0,12,13],epoch:[0,1],eps:[0,3],epsilon:3,eras:[],erase_prob:[],estim:[0,4,7],eta:0,eta_:0,eta_min:0,eta_t:0,evalu:3,everi:[0,1,3,9,10],everyth:5,exampl:0,exit:0,expect:[2,4],exponenti:3,exponentiallr:0,f1_score:2,facebook:9,factor:[0,9],faiss:4,fals:[0,1,2,3,4,5,7,9],false_neg:2,false_posit:2,fashion:3,fashion_mnist_load:7,faster:7,featur:6,file_nam:1,final_lr:0,final_result:1,first:0,fix:5,flatten_input:3,fmnist:7,focu:0,folder:[0,6],folderabc:7,force_download:7,form:0,format:4,formatt:0,former:[3,9,10],formula:0,forward:[0,3,9,10],frac:0,framework:0,frequenc:1,from:[0,4,7],from_batch:7,from_directori:7,gamma:[0,3,6],gao:9,gen:0,gener:[0,5,7],get_coupl:4,get_global_rank:[0,5],get_local_rank:[0,5],get_logg:0,get_num_nod:[0,5],get_verb_level:0,get_world_s:[0,5],github:9,given:[0,3,4,5],gloo:0,gpu:[],grad_approxim:[0,3,12],gradient:0,group:[0,3],growth:9,growth_rat:9,gumbel:4,gumbel_sigmoid:[3,4],gumbel_softmax:[3,4],gumbelsigmoid:3,gumbelsoftmax:3,happen:[],has:[0,5],hash:4,hasn:0,hinton:0,his:0,histogram:[0,4],histori:1,homura:12,hook:[3,9,10],hot:4,howev:5,http:[3,4,9],ids:3,idx:5,ignor:[0,3,9,10],ilsvrc:7,imag:[0,7],image_kei:0,image_load:7,imagefold:7,imagenet:9,imagenet_load:7,img_extens:7,img_tensor:7,implement:0,improv:0,in_channel:3,in_plan:9,increas:0,index:[0,12],indic:[0,6,7],infer:5,inferenc:[0,12,13],info:0,inherit:7,init_channel:9,init_distribut:[0,5],init_method:[0,5],initi:[0,3,9],inplac:3,input:[0,2,3,4,6,7,9,10],input_backward:4,input_channel:10,input_cutmix:6,input_forward:4,instanc:[3,9,10],instead:[0,3,9,10],integ:0,intend:5,iou:[1,2],ioucallback:1,is_train:[0,4],iter:[0,4,5,7],its:0,jpeg:7,jpg:7,k_nearest_neighbor:4,kei:[0,3,4,5],kernel_s:3,keyvalattent:3,kmnist:7,knn:[0,3,12],knopp:4,kudlur:3,kuzushiji_mnist_load:7,kwarg:[0,5,9],l2_distanc:3,label:4,labelcorruptedimag:7,lam:4,lambd:0,lambda1:0,lambda2:0,lambda:0,lambdalr:0,larg:0,last:0,last_epoch:0,latter:[3,9,10],layer:9,learn:[0,3],length:7,level:0,liblog:[12,13],librari:12,like:[0,5],limit:5,linear:3,lineartransform:[],list:[0,5,7],liuzhuang13:9,load:[5,7],load_state_dict:5,loader:[0,6],localiz:6,log:[0,5],log_fil:0,logger:[0,1,5],loggerreport:0,loggerwrapp:5,logit:2,longtensor:[2,4],lookup:3,loop:[0,1],loss:[0,1,3,12],loss_f:[0,5],loss_fn:0,loss_test:0,losscallback:1,lower:0,lr_lambda:0,lr_schedul:[5,12,13],lrschedul:0,lua:9,mai:[0,7],make:5,make_dir:5,map:[0,1,5],mask:3,master:9,matrix:[2,4],max:0,maximum:0,mean:[1,2,4,7],mean_iou:2,mean_std:7,mean_vector:[],measur:0,memo:0,messag:0,meta:5,method:[0,1],metric:[0,12,13],metric_callback_decor:1,metriccallback:1,mileston:0,min:0,min_lr:0,min_ratio:[],minim:[0,6],minimum:0,misc:[0,12,13],mixup:[0,12,13],mnist:7,mnist_load:7,mode:[0,1,5],model:[0,3,5,6],modifi:[0,3],modul:[12,13],module_debugg:0,momentum:[0,3],monitor:0,move:[0,3,5],moving_average_:3,msdnet25:10,msdnet50:10,msdnet:[0,6,8],multipl:[0,9],multisteplr:0,must:0,mutablemap:[0,5],n_size:9,name:[0,1,4,5],nccl:[0,5],ndarrai:5,nearest:4,need:[0,3,9,10],neg:[2,5],neighbor:4,neq:[],nesterov:0,network:[0,2],neural:0,new_iter:[0,5],new_lr:0,no_reduc:1,non:0,none:[0,1,3,5,6,7],normal:[0,3],note:0,notic:[],num_class:[3,4,9,10],num_featur:3,num_iter:4,num_kei:4,num_lay:9,num_neighbor:4,num_queri:4,num_sampl:7,num_test_sampl:7,num_train_sampl:7,num_work:7,number:[0,4,5,7,9],numer:0,numpi:5,object:[0,1,5,7],often:0,old:0,on_memori:7,onc:0,one:[0,3,4,9,10],onehot:[3,4,6],onli:[0,3,5],oper:0,optim:[5,12,13],optim_cl:0,optimum:0,option:[0,2,4,5,6,7],org:[3,4],origin:[3,7],other:0,out_channel:3,output:[0,2,3,9],outsid:[],overrid:0,overridden:[3,9,10],override_iter:[0,5],packag:[12,13],pad:[3,7,9],padding_mod:3,page:12,paper:[0,3,9],param:[0,2,4],param_group:0,paramet:[0,1,2,3,4,5,6,7,9],part:0,partial_mixup:6,pass:[0,3,9,10],path:[0,1,5,7],pathlib:[5,7],patienc:0,penalti:0,per:7,perchannelstatist:7,perform:[3,9,10],period:0,pgm:7,pixel:2,pixel_accuraci:2,plane:9,png:7,point:0,posit:2,power:0,ppm:7,preact_resnet110:9,preact_resnet20:9,preact_resnet32:9,preact_resnet56:9,preactresnet:9,precis:2,prefetch:[0,6],preload:7,print:0,properti:[0,1,7],propos:[0,3,9],provid:[0,5],quantiti:0,queri:[3,4],ram:7,rand:[],rand_bbox:6,randn:4,random:5,randomcrop:7,randomeras:[],randomhorizontalflip:7,rang:0,rate:[0,9],reach:0,read:0,recal:2,recip:[3,9,10],recurr:0,recurs:[],reduc:[0,1],reducelronplateau:0,reduct:[1,4,9],refer:9,reflect:9,regist:[3,9,10],register_after_al:0,register_after_epoch:0,register_after_iter:0,register_before_al:0,register_before_epoch:0,register_before_iter:0,regular:[0,6,12,13],rel:0,reload:7,relu:3,replac:7,report:[1,12,13],report_freq:0,report_image_freq:0,report_images_freq:0,report_param_freq:0,report_params_freq:0,reporter_backend:[0,12,13],represent:3,reproduc:[0,12,13],requir:[],research:12,resnet110:9,resnet20:9,resnet32:9,resnet56:9,resnet:[0,6,8],respect:0,restart:0,result:0,resum:0,rho:0,risk:6,rmsprop:0,root:7,run:[0,3,5,9,10],runner:[0,12,13],sampl:7,save:[0,1],save_dir:[0,5],save_freq:1,save_imag:[0,5],save_image_freq:0,save_log:[0,5],save_path:1,saver:[0,12,13],scalar:0,scale:3,schdlr_cl:0,schedul:0,score:2,search:[4,12],seed:5,seen:0,segment:[0,6,8,12,13],self:0,semant:4,semantic_hash:4,semantichash:3,sequenc:[0,7],set:[0,5,7],set_determinist:5,set_file_handl:0,set_model:0,set_optim:0,set_se:5,set_verb_level:0,sgd:0,sgdr:0,shallow:[0,5],shlen:3,should:[0,3,9,10],sigmoid:[3,4],signific:0,silent:[3,9,10],simpl:7,simultan:[],sinc:[0,3,9,10],sinkhorn:[0,3,12],size:7,skip:1,smaller:0,smooth:0,soft:4,softmax:4,sole:[],solut:[],some:[0,1,7],someth:0,sourc:[0,1,2,3,4,5,6,7,9,10],space:0,specif:[0,2],speed:0,split:7,squar:0,stabil:0,stagnat:0,standard:3,start:0,state:0,state_dict:5,statist:[0,6],stdev:7,stdout:0,step:[0,5],step_siz:0,stepdict:5,steplr:0,still:0,stochast:0,stop:0,storag:0,store:[0,5,7],str:[0,1,4,5,7],straight:4,straight_backprop:3,straight_backprop_relu:3,straight_through_estim:4,straightthroughestim:3,strategi:6,stride:[3,9],strong:6,style:3,subclass:[3,9,10],submodul:[8,12,13],subpackag:[12,13],subscrib:[0,5],subset:7,subtli:0,supervisedtrain:0,support:3,sutskev:0,t_max:0,take:[3,9,10],target:[0,2,4,6,7],target_transform:7,temp:[3,4],tensor:[0,1,2,3,4,5,6,7],tensorboard:0,tensorboardreport:0,tensorboardwrapp:5,tensortupl:[0,5],term:[0,4],test:[0,5,7],test_data:0,test_load:7,test_time_transform:7,text:0,than:0,them:[3,9,10],thi:[0,1,3,5,7,9,10],threshold:[0,2,3],threshold_mod:0,through:4,tif:7,time:0,to_cpu:1,to_onehot:4,top:1,torch:[0,2,3,4,5,6,7,9],torchvis:[7,9],total:7,tqdm:0,tqdmreport:0,tqdmwrapper:5,track_running_stat:3,train:[0,1,3,6,7],train_data:0,train_load:7,trainer:[5,12,13],trainerbas:0,transform:[0,6,7],transformable_random_split:7,transformablesubset:7,transformation_matrix:[],transit:9,true_neg:2,true_posit:2,tupl:[0,3,5,6,7],two:0,type:0,unet:[0,6,8],union:[0,5,7],unlik:4,updat:[0,3],update_dict_by_ema:3,update_iter:0,update_loss_f:5,update_schedul:0,update_scheduler_by_epoch:0,update_transform:7,use:[0,7,9],use_cuda_nonblock:[0,5],use_cudnn_benchmark:[0,5],use_sync_bn:0,used:[0,1,3,5],useful:7,user:0,uses:0,using:0,util:[0,7,12,13],val:1,val_load:7,val_loss:0,val_siz:7,valid:[0,7],valu:[0,3,5],varianc:0,variant:0,vector_to_dict:5,veloc:0,verb:[0,5],verbos:0,version:0,via:0,view:[0,5],visdomreport:0,vision:[0,12,13],vqmodul:3,wai:7,wait:0,want:7,warm:0,warn:[0,5],weight:[0,1,3],weight_decai:0,weight_standard:3,weightsav:[0,1],welcom:12,when:[0,1,7],where:[0,7],whether:0,which:[0,7,9],whiten:[],whose:3,widebasicmodul:9,widen_factor:9,wideresnet:[0,6,8],wise:2,within:[3,9,10],wrap:0,written:0,wrn28_10:9,wrn28_2:9,wsconv2d:3,xxx:7,you:7,zca:[0,12,13],zca_statist:[],zcatransform:[],zero:3,zero_grad:[0,5],zero_init_residu:9},titles:["homura package","homura.callbacks package","homura.metrics package","homura.modules package","homura.modules.functional package","homura.utils package","homura.vision package","homura.vision.data package","homura.vision.models package","homura.vision.models.classification package","homura.vision.models.segmentation package","homura.vision.transforms package","Indices and tables","homura"],titleterms:{"function":4,attent:3,base:1,callback:1,classif:9,common:2,conditional_batchnorm:3,contain:5,content:[0,1,2,3,4,5,6,7,8,9,10,11],convert:4,custom_dataset:7,cutmix:6,data:7,debug:0,densenet:9,discret:[3,4],environ:5,eras:[],folder:7,grad_approxim:4,homura:[0,1,2,3,4,5,6,7,8,9,10,11,13],indic:12,inferenc:5,knn:4,liblog:0,loader:7,loss:4,lr_schedul:0,metric:[1,2],misc:[3,5],mixup:6,model:[8,9,10],modul:[0,1,2,3,4,5,6,7,8,9,10,11],msdnet:10,optim:0,packag:[0,1,2,3,4,5,6,7,8,9,10,11],prefetch:7,regular:3,report:0,reporter_backend:5,reproduc:5,resnet:9,runner:5,saver:1,segment:[2,10],sinkhorn:4,statist:7,submodul:[0,1,2,3,4,5,6,7,9,10],subpackag:[0,3,6,8],tabl:12,trainer:0,transform:11,unet:10,util:5,vision:[6,7,8,9,10,11],wideresnet:9,zca:3}})