很多python脚本运行时要加入参数,在spyder的控制台中运行会更加方便。
比如,运行某个脚本:
run visualize.py --image ''o.jpg"
若要带参数地进入debug模式:
debugfile('run.py', args='splash --image "C:/Users/XXX/Desktop/A3.jpg" --weights "mask_rcnn_balloon_0030.h5"')
很多python脚本运行时要加入参数,在spyder的控制台中运行会更加方便。
比如,运行某个脚本:
run visualize.py --image ''o.jpg"
若要带参数地进入debug模式:
debugfile('run.py', args='splash --image "C:/Users/XXX/Desktop/A3.jpg" --weights "mask_rcnn_balloon_0030.h5"')