0%

首先通过单击Run启动调试程序,然后选择创建配置文件launch.json,配置文件内容示例如下:

示例如下:

1
2
3
4
5
6
7
8
9
10
11
12
    "version": "0.2.0",
"configurations": [
{
"name": "debug train.py",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": ["--dataset", "COCO", "--dataset_root", "D:/Desktop/tiny-datasets/coco2014/small_coco", "--image_set", "train_2017_small", "--batch_size", "2", "--cuda", "False"]
}
]
}

SSD的网络结构如图所示:

SSD中除了主干网络中的卷积层外,还有几个额外的卷积层用于从指定的特征图中进行预测。

1
2
3
4
5
6
7
8
9
# Install Qt-5.8.0
cd ~/Downloads
wget http://mirror.bit.edu.cn/qtproject/archive/qt/5.8/5.8.0/qt-opensource-linux-x64-5.8.0.run
sudo chmod +x qt-opensource-linux-x64-5.8.0.run
./qt-opensource-linux-x64-5.8.0.run
## Install g++
sudo apt-get install build-essential
## Install generic front configration library runtime
sudo apt-get install libfontconfig1