You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run "python runner.py --mode train --model mobilenet-v1 --class_map_path class_map.csv --train_clip_dir train_curated --train_csv_path train_curated.csv --train_dir train_dir".
Traceback (most recent call last):
File "runner.py", line 225, in
tf.app.run(main)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "runner.py", line 205, in main
warmstart_exclude_scopes=split_csv(flags.warmstart_exclude_scopes))
File "/home/dcase/mawen/multi-label/baseline/train.py", line 28, in train
hparams=hparams, epoch_batches=epoch_batches, training=True)
File "/home/dcase/mawen/multi-label/baseline/model.py", line 169, in define_model
embedding = define_mobilenet_v1(features=features, hparams=hparams)
File "/home/dcase/mawen/multi-label/baseline/model.py", line 82, in define_mobilenet_v1
net = slim.conv2d(net, 16, kernel_size=3, stride=1, padding='SAME')
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 182, in func_with_args
return func(*args, **current_args)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/contrib/layers/python/layers/layers.py", line 1159, in convolution2d
conv_dims=2)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 182, in func_with_args
return func(*args, **current_args)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/contrib/layers/python/layers/layers.py", line 1025, in convolution
(conv_dims + 2, input_rank))
TypeError: %d format: a number is required, not NoneType
I don't know how to do?
The text was updated successfully, but these errors were encountered:
I run "python runner.py --mode train --model mobilenet-v1 --class_map_path class_map.csv --train_clip_dir train_curated --train_csv_path train_curated.csv --train_dir train_dir".
Traceback (most recent call last):
File "runner.py", line 225, in
tf.app.run(main)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "runner.py", line 205, in main
warmstart_exclude_scopes=split_csv(flags.warmstart_exclude_scopes))
File "/home/dcase/mawen/multi-label/baseline/train.py", line 28, in train
hparams=hparams, epoch_batches=epoch_batches, training=True)
File "/home/dcase/mawen/multi-label/baseline/model.py", line 169, in define_model
embedding = define_mobilenet_v1(features=features, hparams=hparams)
File "/home/dcase/mawen/multi-label/baseline/model.py", line 82, in define_mobilenet_v1
net = slim.conv2d(net, 16, kernel_size=3, stride=1, padding='SAME')
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 182, in func_with_args
return func(*args, **current_args)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/contrib/layers/python/layers/layers.py", line 1159, in convolution2d
conv_dims=2)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 182, in func_with_args
return func(*args, **current_args)
File "/home/dcase/anaconda3/envs/xytensorflow/lib/python3.7/site-packages/tensorflow/contrib/layers/python/layers/layers.py", line 1025, in convolution
(conv_dims + 2, input_rank))
TypeError: %d format: a number is required, not NoneType
I don't know how to do?
The text was updated successfully, but these errors were encountered: