init.sql 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : music-website
  4. Source Server Type : MySQL
  5. Source Server Version : 80027
  6. Source Host : localhost:3306
  7. Source Schema : springboot
  8. Target Server Type : MySQL
  9. Target Server Version : 80027
  10. File Encoding : 65001
  11. Date: 09/11/2023 22:48:19
  12. create database test;
  13. create user 'test'@'%' identified by 'test';
  14. grant all privileges on test.* to 'test'@'%';
  15. */
  16. use test;
  17. SET NAMES utf8mb4;
  18. SET FOREIGN_KEY_CHECKS = 0;
  19. -- ----------------------------
  20. -- Table structure for config2model
  21. -- ----------------------------
  22. DROP TABLE IF EXISTS `config2model`;
  23. CREATE TABLE `config2model` (
  24. `id` int NOT NULL AUTO_INCREMENT,
  25. `config_id` int NOT NULL,
  26. `model_id` int NOT NULL,
  27. PRIMARY KEY (`id`) USING BTREE
  28. ) ENGINE = InnoDB AUTO_INCREMENT = 44 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  29. -- ----------------------------
  30. -- Records of config2model
  31. -- ----------------------------
  32. INSERT INTO `config2model` VALUES (37, 22, 39);
  33. INSERT INTO `config2model` VALUES (38, 23, 34);
  34. INSERT INTO `config2model` VALUES (39, 24, 35);
  35. INSERT INTO `config2model` VALUES (40, 25, 38);
  36. INSERT INTO `config2model` VALUES (41, 26, 34);
  37. INSERT INTO `config2model` VALUES (42, 26, 35);
  38. INSERT INTO `config2model` VALUES (43, 26, 38);
  39. INSERT INTO `config2model` VALUES (44, 26, 39);
  40. -- ----------------------------
  41. -- Table structure for config2operator
  42. -- ----------------------------
  43. DROP TABLE IF EXISTS `config2operator`;
  44. CREATE TABLE `config2operator` (
  45. `id` int NOT NULL AUTO_INCREMENT,
  46. `config_id` int NOT NULL,
  47. `operator_id` int NOT NULL,
  48. PRIMARY KEY (`id`) USING BTREE
  49. ) ENGINE = InnoDB AUTO_INCREMENT = 71 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  50. -- ----------------------------
  51. -- Records of config2operator
  52. -- ----------------------------
  53. INSERT INTO `config2operator` VALUES (52, 22, 1);
  54. INSERT INTO `config2operator` VALUES (53, 22, 2);
  55. INSERT INTO `config2operator` VALUES (54, 22, 4);
  56. INSERT INTO `config2operator` VALUES (55, 23, 3);
  57. INSERT INTO `config2operator` VALUES (56, 23, 5);
  58. INSERT INTO `config2operator` VALUES (57, 24, 3);
  59. INSERT INTO `config2operator` VALUES (58, 24, 5);
  60. INSERT INTO `config2operator` VALUES (59, 24, 1);
  61. INSERT INTO `config2operator` VALUES (60, 24, 2);
  62. INSERT INTO `config2operator` VALUES (61, 24, 4);
  63. INSERT INTO `config2operator` VALUES (62, 25, 3);
  64. INSERT INTO `config2operator` VALUES (63, 25, 5);
  65. INSERT INTO `config2operator` VALUES (64, 25, 1);
  66. INSERT INTO `config2operator` VALUES (65, 25, 2);
  67. INSERT INTO `config2operator` VALUES (66, 25, 4);
  68. INSERT INTO `config2operator` VALUES (67, 26, 1);
  69. INSERT INTO `config2operator` VALUES (68, 26, 2);
  70. INSERT INTO `config2operator` VALUES (69, 26, 3);
  71. INSERT INTO `config2operator` VALUES (70, 26, 4);
  72. INSERT INTO `config2operator` VALUES (71, 26, 5);
  73. -- ----------------------------
  74. -- Table structure for config2seed
  75. -- ----------------------------
  76. DROP TABLE IF EXISTS `config2seed`;
  77. CREATE TABLE `config2seed` (
  78. `id` int NOT NULL AUTO_INCREMENT,
  79. `config_id` int NOT NULL,
  80. `seed_id` int NOT NULL,
  81. PRIMARY KEY (`id`) USING BTREE
  82. ) ENGINE = InnoDB AUTO_INCREMENT = 91 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  83. -- ----------------------------
  84. -- Records of config2seed
  85. -- ----------------------------
  86. INSERT INTO `config2seed` VALUES (62, 22, 4);
  87. INSERT INTO `config2seed` VALUES (63, 22, 5);
  88. INSERT INTO `config2seed` VALUES (64, 22, 6);
  89. INSERT INTO `config2seed` VALUES (65, 22, 7);
  90. INSERT INTO `config2seed` VALUES (66, 22, 8);
  91. INSERT INTO `config2seed` VALUES (67, 22, 9);
  92. INSERT INTO `config2seed` VALUES (68, 23, 4);
  93. INSERT INTO `config2seed` VALUES (69, 23, 5);
  94. INSERT INTO `config2seed` VALUES (70, 23, 6);
  95. INSERT INTO `config2seed` VALUES (71, 23, 7);
  96. INSERT INTO `config2seed` VALUES (72, 23, 8);
  97. INSERT INTO `config2seed` VALUES (73, 23, 9);
  98. INSERT INTO `config2seed` VALUES (74, 24, 4);
  99. INSERT INTO `config2seed` VALUES (75, 24, 5);
  100. INSERT INTO `config2seed` VALUES (76, 24, 6);
  101. INSERT INTO `config2seed` VALUES (77, 24, 7);
  102. INSERT INTO `config2seed` VALUES (78, 24, 8);
  103. INSERT INTO `config2seed` VALUES (79, 24, 9);
  104. INSERT INTO `config2seed` VALUES (80, 25, 4);
  105. INSERT INTO `config2seed` VALUES (81, 25, 5);
  106. INSERT INTO `config2seed` VALUES (82, 25, 6);
  107. INSERT INTO `config2seed` VALUES (83, 25, 7);
  108. INSERT INTO `config2seed` VALUES (84, 25, 8);
  109. INSERT INTO `config2seed` VALUES (85, 25, 9);
  110. INSERT INTO `config2seed` VALUES (86, 26, 4);
  111. INSERT INTO `config2seed` VALUES (87, 26, 5);
  112. INSERT INTO `config2seed` VALUES (88, 26, 6);
  113. INSERT INTO `config2seed` VALUES (89, 26, 7);
  114. INSERT INTO `config2seed` VALUES (90, 26, 8);
  115. INSERT INTO `config2seed` VALUES (91, 26, 9);
  116. -- ----------------------------
  117. -- Table structure for configuration
  118. -- ----------------------------
  119. DROP TABLE IF EXISTS `configuration`;
  120. CREATE TABLE `configuration` (
  121. `id` int NOT NULL AUTO_INCREMENT,
  122. `pri_queue_size` int NOT NULL,
  123. `init_pop_size` int NOT NULL,
  124. `sampling` int NOT NULL,
  125. `radar_loop` int NOT NULL,
  126. `loop` int NOT NULL,
  127. `fit_function` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  128. PRIMARY KEY (`id`) USING BTREE
  129. ) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  130. -- ----------------------------
  131. -- Records of configuration
  132. -- ----------------------------
  133. INSERT INTO `configuration` VALUES (22, 50, 72, 1, 20,20, 'Error+Diversity');
  134. INSERT INTO `configuration` VALUES (23, 50, 72, 1, 20,20, 'Error');
  135. INSERT INTO `configuration` VALUES (24, 50, 72, 1, 20,20, 'Diversity');
  136. INSERT INTO `configuration` VALUES (25, 50, 72, 1, 20,20, 'Error+Diversity');
  137. INSERT INTO `configuration` VALUES (26, 50, 24, 1, 20,20, 'Error+Diversity');
  138. -- ----------------------------
  139. -- Table structure for model
  140. -- ----------------------------
  141. DROP TABLE IF EXISTS `model`;
  142. CREATE TABLE `model` (
  143. `id` int NOT NULL AUTO_INCREMENT,
  144. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  145. `file_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  146. `size` double NOT NULL,
  147. `create_date` datetime NOT NULL,
  148. `type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  149. `desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  150. PRIMARY KEY (`id`) USING BTREE
  151. ) ENGINE = InnoDB AUTO_INCREMENT = 39 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  152. -- ----------------------------
  153. -- Records of model
  154. -- ----------------------------
  155. INSERT INTO `model` VALUES (34, 'Model2', 'Model2.h5', 8305, '2023-04-06 19:54:14', '.h5', 'Dave_v2 转向角预测模型 准确率83.7%');
  156. INSERT INTO `model` VALUES (35, 'Model3', 'Model3.h5', 12831, '2023-04-06 19:54:38', '.h5', 'Dave_v3 转向角预测模型 准确率 88.2%');
  157. INSERT INTO `model` VALUES (38, 'Model4', 'Model4.h5', 131472, '2023-04-07 02:47:41', '.h5', 'Epoch 转向角预测模型 准确率 85.4%');
  158. INSERT INTO `model` VALUES (39, 'Model1', 'Model1.h5', 8305, '2023-04-07 02:48:11', '.h5', 'Dave_v1 转向角预测模型 准确率88.2%');
  159. -- ----------------------------
  160. -- Table structure for operator
  161. -- ----------------------------
  162. DROP TABLE IF EXISTS `operator`;
  163. CREATE TABLE `operator` (
  164. `id` int NOT NULL AUTO_INCREMENT,
  165. `key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  166. `label` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  167. PRIMARY KEY (`id`) USING BTREE
  168. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  169. -- ----------------------------
  170. -- Records of operator
  171. -- ----------------------------
  172. INSERT INTO `operator` VALUES (1, 'vehicleColor', '车辆颜色');
  173. INSERT INTO `operator` VALUES (2, 'time', '时间');
  174. INSERT INTO `operator` VALUES (3, 'sunIntensity', '光照强度');
  175. INSERT INTO `operator` VALUES (4, 'fog', '雾天');
  176. INSERT INTO `operator` VALUES (5, 'rain', '雨天');
  177. -- ----------------------------
  178. -- Table structure for seed
  179. -- ----------------------------
  180. DROP TABLE IF EXISTS `seed`;
  181. CREATE TABLE `seed` (
  182. `id` int NOT NULL AUTO_INCREMENT,
  183. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  184. `carla_map` int NOT NULL,
  185. `create_date` datetime NOT NULL,
  186. `type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  187. `desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  188. PRIMARY KEY (`id`) USING BTREE
  189. ) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  190. -- ----------------------------
  191. -- Records of seed
  192. -- ----------------------------
  193. INSERT INTO `seed` VALUES (4, 'seed_0_0_1.xosc', 4, '2023-04-05 22:26:19', '0', '晴天、右转弯、车道跟随、前方树木');
  194. INSERT INTO `seed` VALUES (5, 'seed_0_0_2.xosc', 4, '2023-04-05 22:26:52', '0', '晴天、右转弯、车道跟随、前方石头');
  195. INSERT INTO `seed` VALUES (6, 'seed_0_0_3.xosc', 4, '2023-04-05 22:27:29', '0', '晴天、左转弯、车道跟随、狭窄道路');
  196. INSERT INTO `seed` VALUES (7, 'seed_0_0_4.xosc', 7, '2023-04-05 22:27:51', '0', '晴天、右转弯、下坡、车道跟随、郊区道路');
  197. INSERT INTO `seed` VALUES (8, 'seed_0_0_5.xosc', 7, '2023-04-05 22:28:03', '0', '晴天、左转弯、车道跟随、较多阴影');
  198. INSERT INTO `seed` VALUES (9, 'seed_0_0_6.xosc', 7, '2023-04-05 22:28:15', '0', '晴天、直行+左转、车道跟随、前方山坡+较多阴影');
  199. -- ----------------------------
  200. -- Table structure for sim_result
  201. -- ----------------------------
  202. DROP TABLE IF EXISTS `sim_result`;
  203. CREATE TABLE `sim_result` (
  204. `id` int NOT NULL AUTO_INCREMENT,
  205. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  206. `seed_id` int NOT NULL,
  207. `author` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  208. `create_date` datetime NOT NULL,
  209. `task_status` int NOT NULL,
  210. `task_desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  211. PRIMARY KEY (`id`) USING BTREE
  212. ) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  213. -- ----------------------------
  214. -- Records of sim_result
  215. -- ----------------------------
  216. INSERT INTO `sim_result` VALUES (2, 'Simulation_1', 4, 'admin', '2023-04-06 00:00:00', 2, '晴天、右转弯、车道跟随、前方树木');
  217. INSERT INTO `sim_result` VALUES (3, 'Simulation_2', 9, 'admin', '2023-04-06 22:39:51', 2, '晴天、直行 左转、车道跟随、前方山坡 较多阴影.');
  218. INSERT INTO `sim_result` VALUES (7, 'seed_0_0_5.xosc Simulation', 8, 'admin', '2023-04-07 00:32:15', 2, '晴天、左转弯、车道跟随、较多阴影');
  219. INSERT INTO `sim_result` VALUES (9, 'seed_0_0_1.xosc Simulation', 4, 'admin', '2023-04-07 02:49:14', 1, '晴天、右转弯、车道跟随、前方树木');
  220. -- ----------------------------
  221. -- Table structure for test_task
  222. -- ----------------------------
  223. DROP TABLE IF EXISTS `test_task`;
  224. CREATE TABLE `test_task` (
  225. `id` int NOT NULL AUTO_INCREMENT,
  226. `config_id` int NOT NULL,
  227. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  228. `model_cnt` int NOT NULL,
  229. `seed_cnt` int NOT NULL,
  230. `operator_cnt` int NOT NULL,
  231. `creator` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  232. `create_date` datetime NOT NULL,
  233. `task_status` int NOT NULL,
  234. `task_progress` int NOT NULL,
  235. `desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  236. PRIMARY KEY (`id`) USING BTREE
  237. ) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
  238. -- ----------------------------
  239. -- Records of test_task
  240. -- ----------------------------
  241. INSERT INTO `test_task` VALUES (18, 22, 'DaveV1Test', 1, 6, 3, 'admin', '2023-04-07 03:20:45', 2, 0, 'Dave_v1、原始种子、车辆颜色+时间+雾天算子、错误数+错误种类测试');
  242. INSERT INTO `test_task` VALUES (19, 23, 'Dave_v2', 1, 6, 2, 'admin', '2023-04-07 03:21:15', 2, 0, 'Dave_v2、原始种子、光照强度+雨天算子、错误数测试');
  243. INSERT INTO `test_task` VALUES (20, 24, 'Dave_v3', 1, 6, 5, 'admin', '2023-04-07 03:21:34', 2, 0, 'Dave_v3、原始种子、全算子、错误种类测试');
  244. INSERT INTO `test_task` VALUES (21, 25, 'Epoch', 1, 6, 5, 'admin', '2023-04-07 03:21:54', 2, 0, 'Epoch、原始种子、全算子、错误数+错误种类测试');
  245. INSERT INTO `test_task` VALUES (22, 26, 'FullTest', 4, 6, 5, 'admin', '2023-04-07 03:23:12', 2, 0, '全模型、原始种子、全算子、错误数+错误种类 测试');
  246. SET FOREIGN_KEY_CHECKS = 1;