itijyou / ademxapp

Code for https://arxiv.org/abs/1611.10080

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

define rn or rna

Liron-2 opened this issue · comments

What is the different between net_type= rn or rna?

(
models/ilsvrc-cls_rna-a1_cls1000_ep-0001.params

if model_specs['net_type'] == 'rn':
return -1, np.array([123.68, 116.779, 103.939]).reshape((1, 1, 3)), None
if model_specs['net_type'] in ('rna',):
return (1.0/255,
np.array([0.485, 0.456, 0.406]).reshape((1, 1, 3)),
np.array([0.229, 0.224, 0.225]).reshape((1, 1, 3)))
return None, None, None
)