Remove smooth transition halflife argument
This commit is contained in:
parent
897c3563db
commit
2c5c4fae2c
@ -1,5 +1,4 @@
|
|||||||
import argparse
|
import argparse
|
||||||
import warnings
|
|
||||||
|
|
||||||
from .train import ckpt_link
|
from .train import ckpt_link
|
||||||
|
|
||||||
@ -98,8 +97,6 @@ def add_train_args(parser):
|
|||||||
'e.g. 0.9 for label smoothing and 1 to disable')
|
'e.g. 0.9 for label smoothing and 1 to disable')
|
||||||
parser.add_argument('--loss-fraction', default=0.5, type=float,
|
parser.add_argument('--loss-fraction', default=0.5, type=float,
|
||||||
help='final fraction of loss (vs adv-loss)')
|
help='final fraction of loss (vs adv-loss)')
|
||||||
parser.add_argument('--loss-halflife', default=20, type=deprecated,
|
|
||||||
help='half-life (epoch) to anneal loss while enhancing adv-loss')
|
|
||||||
parser.add_argument('--instance-noise', default=0, type=float,
|
parser.add_argument('--instance-noise', default=0, type=float,
|
||||||
help='noise added to the adversary inputs to stabilize training')
|
help='noise added to the adversary inputs to stabilize training')
|
||||||
parser.add_argument('--instance-noise-batches', default=1e4, type=float,
|
parser.add_argument('--instance-noise-batches', default=1e4, type=float,
|
||||||
@ -148,10 +145,6 @@ def str_list(s):
|
|||||||
return s.split(',')
|
return s.split(',')
|
||||||
|
|
||||||
|
|
||||||
def deprecated(s):
|
|
||||||
warnings.warn("deprecated argument", DeprecationWarning, stacklevel=2)
|
|
||||||
|
|
||||||
|
|
||||||
#def int_tuple(t):
|
#def int_tuple(t):
|
||||||
# t = t.split(',')
|
# t = t.split(',')
|
||||||
# t = tuple(int(i) for i in t)
|
# t = tuple(int(i) for i in t)
|
||||||
|
Loading…
Reference in New Issue
Block a user