pyanomaly.core.hook.functions package

Submodules

pyanomaly.core.hook.functions.amc_hooks module

@author: Yuhao Cheng @contact: yuhao.cheng[at]outlook.com

class pyanomaly.core.hook.functions.amc_hooks.AMCEvaluateHook

Bases: pyanomaly.core.hook.abstract.abstract_hook.EvaluateHook

evaluate(current_step)

Evaluate the results of the model !!! Will change, e.g. accuracy, mAP..... !!! Or can call other methods written by the official

pyanomaly.core.hook.functions.anopcn_hooks module

@author: Yuhao Cheng @contact: yuhao.cheng[at]outlook.com

class pyanomaly.core.hook.functions.anopcn_hooks.AnoPCNEvaluateHook

Bases: pyanomaly.core.hook.abstract.abstract_hook.EvaluateHook

evaluate(current_step)

Evaluate the results of the model !!! Will change, e.g. accuracy, mAP..... !!! Or can call other methods written by the official

pyanomaly.core.hook.functions.anopred_hooks module

@author: Yuhao Cheng @contact: yuhao.cheng[at]outlook.com

class pyanomaly.core.hook.functions.anopred_hooks.AnoPredEvaluateHook

Bases: pyanomaly.core.hook.abstract.abstract_hook.EvaluateHook

evaluate(current_step)

Evaluate the results of the model !!! Will change, e.g. accuracy, mAP..... !!! Or can call other methods written by the official

pyanomaly.core.hook.functions.base module

@author: Yuhao Cheng @contact: yuhao.cheng[at]outlook.com

class pyanomaly.core.hook.functions.base.TSNEHook

Bases: pyanomaly.core.hook.abstract.abstract_hook.HookBase

after_step(current_step)

Called after each iteration.

class pyanomaly.core.hook.functions.base.VisScoreHook

Bases: pyanomaly.core.hook.abstract.abstract_hook.HookBase

after_step(current_step)

Called after each iteration.

pyanomaly.core.hook.functions.memae_hooks module

@author: Yuhao Cheng @contact: yuhao.cheng[at]outlook.com

class pyanomaly.core.hook.functions.memae_hooks.MemAEEvaluateHook

Bases: pyanomaly.core.hook.abstract.abstract_hook.EvaluateHook

evaluate(current_step)

Evaluate the results of the model !!! Will change, e.g. accuracy, mAP..... !!! Or can call other methods written by the official

pyanomaly.core.hook.functions.ocae_hooks module

@author: Yuhao Cheng @contact: yuhao.cheng[at]outlook.com

class pyanomaly.core.hook.functions.ocae_hooks.ClusterHook

Bases: pyanomaly.core.hook.abstract.abstract_hook.HookBase

after_step(current_step)

Called after each iteration.

class pyanomaly.core.hook.functions.ocae_hooks.OCEvaluateHook

Bases: pyanomaly.core.hook.abstract.abstract_hook.EvaluateHook

evaluate(current_step)

Evaluate the results of the model !!! Will change, e.g. accuracy, mAP..... !!! Or can call other methods written by the official

pyanomaly.core.hook.functions.stae_hooks module

@author: Yuhao Cheng @contact: yuhao.cheng[at]outlook.com

class pyanomaly.core.hook.functions.stae_hooks.STAEEvaluateHook

Bases: pyanomaly.core.hook.abstract.abstract_hook.EvaluateHook

evaluate(current_step)

Evaluate the model base on some methods Args:

current_step: The current step at present

Returns:

results: The magnitude of the method based on this evaluation metric

Module contents

@author: Yuhao Cheng @contact: yuhao.cheng[at]outlook.com