Closed zhangtian-3841 closed 5 months ago
您好!我按照官网文档添加mnist数据集后,在使用LDA进行数据划分时,出现以下错误。您可否帮我看看这个问题呢 load_mnist:
配置文件中关于data的部分: data: root: data/ type: mnist splits: [0.6,0.2,0.2] subsample: 0.05 transform: [['ToTensor'], ['Normalize', {'mean': [0.9637], 'std': [0.1592]}]] splitter: lda splitter_args: [{'alpha': 0.1}]
data: root: data/ type: mnist splits: [0.6,0.2,0.2] subsample: 0.05 transform: [['ToTensor'], ['Normalize', {'mean': [0.9637], 'std': [0.1592]}]] splitter: lda splitter_args: [{'alpha': 0.1}]
出现的错误:
The data format should be list of tuples, such as [(x, y), (x, y), (x, y), ...].
[(x, y), (x, y), (x, y), ...]
十分感谢您!
您好!我按照官网文档添加mnist数据集后,在使用LDA进行数据划分时,出现以下错误。您可否帮我看看这个问题呢 load_mnist:
配置文件中关于data的部分:
data: root: data/ type: mnist splits: [0.6,0.2,0.2] subsample: 0.05 transform: [['ToTensor'], ['Normalize', {'mean': [0.9637], 'std': [0.1592]}]] splitter: lda splitter_args: [{'alpha': 0.1}]
出现的错误: