My DL-CodeBase 设计

tech2022-07-05  170

Registry Mechanism

构建字典(注册),keys为模块名,vals为模块类对象通过预定义的设置文件,读取模块名,进行实例化 (instantiating)符合 开闭原则,避免修改,方便扩展

环境安装

pip freeze > requirements.txtpip install -r requirements.txtconda list -e > requirements.txtconda install --yes --file requirements.txtwhile read requirement; do conda install --yes $requirement; done < requirements.txt

ERRORs

Cannot load backend ‘TkAgg’ which requires the ‘tk’ interactive framework, as ‘headless’ is currently runnin import matplotlib # matplotlib.use('TkAgg') # 使用该行 报错TkAgg/tk import matplotlib.pyplot as plt setup evaluation/vot_benchmark/pysot/utils/setup.py python setup.py build_ext --inplace

trackdat 下载解压

VOT_YEAR=2018 bash scripts/download_vot.sh dl/vot2018bash scripts/unpack_vot.sh dl/vot2018 $temp/vot2018可选 压缩 tar -cf tar/original/vot2018.tar -C $temp vot2018

架构

Hyper-Parameter Search

val集上hponaive Random Search algorithmsklearn.model_selection.RandomizedSearchCV

Powershell - Conda activate

报错提醒 conda init powershell没用powershell -ExecutionPolicy Bypass 使用这个可以了

CF Embedding

算法部分特征提取部分 fHOG + CNVGG 16 / 19
最新回复(0)