上传者: 38522106
|
上传时间: 2022-09-24 16:37:34
|
文件大小: 33KB
|
文件类型: PDF
如下所示:
# -*- coding: utf-8 -*-
import os
import numpy as np
import pandas as pd
import h5py
import pylab
import matplotlib.pyplot as plt
trainpath = str('C:/Users/49691/Desktop/数据集/train/')
testpath = str('C:/Users/49691/Desktop/数据集/test/')
n_tr = len(os.listdir(trainpath))
print('num of training fi