зеркало из https://github.com/microsoft/caffe.git
default raw_scale in python scripts to ImageNet model value
This commit is contained in:
Родитель
f072600bb1
Коммит
978c81a4ab
|
@ -66,11 +66,12 @@ def main(argv):
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--input_scale",
|
"--input_scale",
|
||||||
type=float,
|
type=float,
|
||||||
help="Multiply input features by this scale to finish input preprocessing."
|
help="Multiply input features by this scale to finish preprocessing."
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--raw_scale",
|
"--raw_scale",
|
||||||
type=float,
|
type=float,
|
||||||
|
default=255.0,
|
||||||
help="Multiply raw input by this scale before preprocessing."
|
help="Multiply raw input by this scale before preprocessing."
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|
|
@ -76,11 +76,12 @@ def main(argv):
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--input_scale",
|
"--input_scale",
|
||||||
type=float,
|
type=float,
|
||||||
help="Multiply input features by this scale to finish input preprocessing."
|
help="Multiply input features by this scale to finish preprocessing."
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--raw_scale",
|
"--raw_scale",
|
||||||
type=float,
|
type=float,
|
||||||
|
default=255.0,
|
||||||
help="Multiply raw input by this scale before preprocessing."
|
help="Multiply raw input by this scale before preprocessing."
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|
Загрузка…
Ссылка в новой задаче