Faster-RCNN-TensorFlow-Python3 icon indicating copy to clipboard operation
Faster-RCNN-TensorFlow-Python3 copied to clipboard

demo.py

Open jingdanyang6967634 opened this issue 8 years ago • 8 comments

142 line net.create_architecture(sess, "TEST", 21,tag='default', anchor_scales=[8, 16, 32])

File "E:\study_software\pycharm\install\PyCharm Community Edition 2018.1\helpers\pydev\pydevd.py", line 1664, in main() File "E:\study_software\pycharm\install\PyCharm Community Edition 2018.1\helpers\pydev\pydevd.py", line 1658, in main globals = debugger.run(setup['file'], None, None, is_module) File "E:\study_software\pycharm\install\PyCharm Community Edition 2018.1\helpers\pydev\pydevd.py", line 1068, in run pydev_imports.execfile(file, globals, locals) # execute the script File "E:\study_software\pycharm\install\PyCharm Community Edition 2018.1\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "F:/project/Faster-RCNN-TensorFlow-Python3.5-master/demo.py", line 144, in tag='default', anchor_scales=[8, 16, 32]) File "F:\project\Faster-RCNN-TensorFlow-Python3.5-master\lib\nets\network.py", line 283, in create_architecture weights_regularizer = tf.contrib.layers.l2_regularizer(cfg.FLAGS.weight_decay) File "E:\study_software\anaconda\anzhuang\envs\tensorflow\lib\site-packages\tensorflow\python\platform\flags.py", line 84, in getattr wrapped(_sys.argv) File "E:\study_software\anaconda\anzhuang\envs\tensorflow\lib\site-packages\absl\flags_flagvalues.py", line 630, in call name, value, suggestions=suggestions) absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'net'. Did you mean: network ?

jingdanyang6967634 avatar Apr 17 '18 02:04 jingdanyang6967634

just change tf.app.flags.DEFINE_string('network', "vgg16", "The network to be used as backbone") to tf.app.flags.DEFINE_string('net', "vgg16", "The network to be used as backbone") in file \lib\config\config.py

xupinjie avatar May 15 '18 06:05 xupinjie

@Jasonxu033 yes,it works.Thanks so much.

gmt710 avatar Aug 02 '18 09:08 gmt710

@Jasonxu033 I am curious about how you find the solution.

gmt710 avatar Aug 02 '18 09:08 gmt710

@Jasonxu033 Can you send the PR for those changes?

dBeker avatar Apr 02 '19 10:04 dBeker

@Jasonxu033 老哥你怎么发现的这个问题

renlicheng avatar Apr 21 '19 11:04 renlicheng

什么问题?

------------------ 原始邮件 ------------------ 发件人: "LiCheng Ren"[email protected]; 发送时间: 2019年4月21日(星期天) 晚上7:14 收件人: "dBeker/Faster-RCNN-TensorFlow-Python3.5"[email protected]; 抄送: "敬丹阳"[email protected]; "Author"[email protected]; 主题: Re: [dBeker/Faster-RCNN-TensorFlow-Python3.5] demo.py (#20)

@Jasonxu033 老哥你怎么发现的这个问题

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jingdanyang6967634 avatar Apr 21 '19 11:04 jingdanyang6967634

什么问题? … ------------------ 原始邮件 ------------------ 发件人: "LiCheng Ren"[email protected]; 发送时间: 2019年4月21日(星期天) 晚上7:14 收件人: "dBeker/Faster-RCNN-TensorFlow-Python3.5"[email protected]; 抄送: "敬丹阳"[email protected]; "Author"[email protected]; 主题: Re: [dBeker/Faster-RCNN-TensorFlow-Python3.5] demo.py (#20) @Jasonxu033 老哥你怎么发现的这个问题 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

https://github.com/dBeker/Faster-RCNN-TensorFlow-Python3.5/issues/20#issuecomment-389060700 原答案:just change tf.app.flags.DEFINE_string('network', "vgg16", "The network to be used as backbone") to tf.app.flags.DEFINE_string('net', "vgg16", "The network to be used as backbone") in file \lib\config\config.py

renlicheng avatar Apr 21 '19 11:04 renlicheng

什么问题? … ------------------ 原始邮件 ------------------ 发件人: "LiCheng Ren"[email protected]; 发送时间: 2019年4月21日(星期天) 晚上7:14 收件人: "dBeker/Faster-RCNN-TensorFlow-Python3.5"[email protected]; 抄送: "敬丹阳"[email protected]; "Author"[email protected]; 主题: Re: [dBeker/Faster-RCNN-TensorFlow-Python3.5] demo.py (#20) @Jasonxu033 老哥你怎么发现的这个问题 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

#20 (comment) 原答案:just change tf.app.flags.DEFINE_string('network', "vgg16", "The network to be used as backbone") to tf.app.flags.DEFINE_string('net', "vgg16", "The network to be used as backbone") in file \lib\config\config.py

我只是提问者,我也不知道他怎么发现的

jingdanyang6967634 avatar Apr 21 '19 11:04 jingdanyang6967634