目录
python环境变量
python-opencv
cuda cudnn
pytorch
pycharm 激活ok了
pyqt5
labelimg
notepad
gpu-z
python 3.6或3.7
标注,文件路径不能有
python环境变量
import os
import syscurrent_dir = os.path.dirname(os.path.abspath(__file__))paths = [os.path.abspath(__file__).split('scripts')[0],
]
print('current_dir',current_dir)#
# sys.path.insert(0, os.path.abspath(os.path.join(current_dir, '../..')))
# sys.path.insert(0, os.path.abspath(os.path.join(current_dir, '../../..')))
paths.append(os.path.abspath(os.path.join(current_dir, '../../../../giga-datasets')))
paths.append(os.path.abspath(os.path.join(current_dir, '../../../../giga-models')))
paths.append(os.path.abspath(os.path.join(current_dir, '../../../../giga-train')))for path