alpha_mix_active_learning icon indicating copy to clipboard operation
alpha_mix_active_learning copied to clipboard

Self.args in alpha_mix_sampling.py

Open bryanwong17 opened this issue 1 year ago • 1 comments

Hi, could you let me know how I can find the value of self.args? I couldn't find similar names in the rest of the files. For example, if you mention self.args.alpha_alpha_growth_method, how can I find the initialization of it and the value? Thank you!

bryanwong17 avatar Mar 23 '23 10:03 bryanwong17

Hi. Any AL strategy is a subclass of the Strategy class and self.args for AlphaMixSampling is set in the Strategy constructor. Please note that the strategy class is instantiated in the main.py (line 564). So all the hyper-parameters could be found in the main.py (lines 727-777). Also, note that the method find_alpha in the AlphaMixSampling class is never used in the code and the mentioned parameter (self.args.alpha_alpha_growth_method) is a left-over of another version of the code which is not related to the paper. So just ignore that one.

AminParvaneh avatar Apr 02 '23 10:04 AminParvaneh