import os import numpy import cv2 bad_label_file = open("bad_valid.list",'r') names = [] for line in open('data/coco.names','r'): names.append(line.strip('\n')) classes = len(names) colors = [] for i in range(80): #color = [random.uniform(0, 255…
本人还是个菜鸟,下面是我的经验之谈,能解决一些问题,有不对的地方,敬请斧正. 我的是CentOS6.3+MySQL5.1.57. 重启了一次服务器后,使用> mysql -u root -p登陆是出现下面的错误: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 于是,我检察mysql状态: > /etc/rc.d/init.d/mysqld status…