logging.set_verbosity_error() from datasets import load_dataset, get_dataset_split_names # the following only finds train, validation and test splits correctly path = "./test_data1" print("###", get_dataset_split_names(path), "###") dataset_list = [] for spt in ["train", "test"...
_load_datasets(datasets, input_prefix): """ Load unique molecules (nonisomeric smile). """ for i, dataset in enumerate(datasets): path = os.path.join(input_prefix, dataset) ds = esp.data.dataset.GraphDataset.load(path).shuffle(RANDOM_SEED) _ds_tr, _ds_vl, _ds_te = ds.split(...
下载Tongyi-DataEngine/SA1B-Dense-Caption数据集,执行网页上命令from modelscope.msdatasets import MsDataset ds = MsDataset.load('Tongyi-DataEngine/SA1B-Dense-Caption', subset_name='default', split='train'),modelscope版本:1.14.0,提示错误:TypeError: Value.__init__() missing 1 required positional...