You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
964 B

11 months ago
class Networking:
def __init__(self):
self.AllModelObj = [] # 网络对象总表
self.AllModelConn = [] # 网络连接对象总表
self.RIGHT_MODEL = [[0, 1, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 0, 0, 0, 0, 0, 0],[0, 1, 0, 1, 0, 0, 0, 0, 0],
[0, 0, 0, 1, 1, 0, 0, 0, 0],[0, 0, 0, 0, 0, 1, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 1, 0, 0],[0, 0, 0, 0, 0, 0, 0, 1, 1],
[0, 1, 0, 0, 0, 0, 0, 0, 0],[0, 0, 0, 1, 0, 0, 0, 0, 0]]
self.Items1 = [] # 存储被拖拽的图元的列表
self.Second_Items = [[], [], []] # 记录第二个框中画布创建的序号
self.SubFolders = [] # 存储数据集类别
self.Element = [] # 记录图元名称
self.Train_images = [] # 存储训练集的列表
self.Test_images = [] # 存储测试集的列表
self.ImgPath = [] # 储存数据集路径
self.Item_Record = []
self.Item_Name = []