mirror of
https://github.com/unanmed/ginka-generator.git
synced 2026-11-16 20:24:30 +08:00
feat: 支持流式传输,改进数据集
This commit is contained in:
1 parent
8dea79a9f0
commit
325eb599c3
6 files changed
+140
-65
No files matched your search
@@ -136,7 +136,7 @@ function generateSimilarData(id: string, map: number[][]) {
|
||||
// 生成最多两个微调地图
|
||||
const width = map[0].length;
|
||||
const height = map.length;
|
||||
const num = Math.floor(Math.random() * 1);
|
||||
const num = Math.floor(Math.random() * 2);
|
||||
const res: [id: string, data: MinamoTrainData][] = [];
|
||||
|
||||
for (let i = 0; i < num; i++) {
|
||||
|
||||
Reference in new issue
Block a user