@icyfenix-dmla/cli 2026.5.2-2022 → 2026.5.2-2025

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icyfenix-dmla/cli",
3
- "version": "2026.5.2-2022",
3
+ "version": "2026.5.2-2025",
4
4
  "description": "DMLA 沙箱服务命令行工具",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -401,19 +401,16 @@ async function downloadDatasets() {
401
401
  // 构建选项列表
402
402
  const choices = DATASETS.map((dataset, index) => {
403
403
  const downloaded = isDatasetDownloaded(dataPath, dataset.id)
404
- const isMnist = dataset.id === 'mnist'
405
404
 
406
405
  let message = `${dataset.name} (${dataset.size})`
407
406
  if (downloaded) {
408
407
  message += ' [已下载]'
409
- } else if (isMnist) {
410
- message += ' [训练时自动下载]'
411
408
  }
412
409
 
413
410
  return {
414
411
  name: index.toString(),
415
412
  message,
416
- disabled: downloaded || isMnist
413
+ disabled: downloaded
417
414
  }
418
415
  })
419
416
 
@@ -428,7 +425,7 @@ async function downloadDatasets() {
428
425
  message: '选择要下载的数据集',
429
426
  choices,
430
427
  hint: '空格选择,回车确认下载',
431
- warn: '已下载或自动下载类型'
428
+ warn: '已下载'
432
429
  })
433
430
 
434
431
  if (!selected || selected.length === 0) {
@@ -444,12 +441,6 @@ async function downloadDatasets() {
444
441
  console.log()
445
442
  console.log(chalk.cyan(`────────────────────────────────────`))
446
443
 
447
- // MNIST 特殊处理
448
- if (dataset.id === 'mnist') {
449
- console.log(chalk.yellow('MNIST 数据集将在训练时通过 torchvision 自动下载'))
450
- continue
451
- }
452
-
453
444
  // 检查是否已下载
454
445
  if (isDatasetDownloaded(dataPath, dataset.id)) {
455
446
  console.log(chalk.yellow(`${dataset.name} 已下载,跳过`))