You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
========== Fold 1 ==========
Training on 1891 examples, Validation on 473 examples
========== Train epoch 1 ==========
0%| | 0/1891 [00:03<?, ?it/s]
Traceback (most recent call last):
File "Train.py", line 504, in
cross_validation(train_dataframe,fold_number=5)
File "Train.py", line 498, in cross_validation
train(model, train_dataframe, valid_dataframe, fold + 1)
File "Train.py", line 353, in train
epoch_loss_train_avg = train_one_epoch(model, train_loader, epoch + 1)
File "Train.py", line 241, in train_one_epoch
for data in tqdm(data_loader):
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/tqdm/std.py", line 1181, in iter
for obj in iterable:
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 631, in next
data = self._next_data()
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1346, in _next_data
return self._process_data(data)
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1372, in _process_data
data.reraise()
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/_utils.py", line 722, in reraise
raise exception
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
data = fetcher.fetch(index)
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/Users/dongjiacheng/Desktop/coder/mtd/code/Tm/GraphSol/Train.py", line 129, in getitem
sequence_feature = load_features(sequence_name, sequence, self.mean, self.std, self.blosum)
File "/Users/dongjiacheng/Desktop/coder/mtd/code/Tm/GraphSol/Train.py", line 72, in load_features
oneD_matrix = np.load(Dataset_Path + 'node_features/' + sequence_name + '.npy')
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/numpy/lib/npyio.py", line 405, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: './Data/node_features/yfjG.npy'
The text was updated successfully, but these errors were encountered:
(graphsol) do@MAC GraphSol % python Train.py
split_seed: 2333
========== Fold 1 ==========
Training on 1891 examples, Validation on 473 examples
========== Train epoch 1 ==========
0%| | 0/1891 [00:03<?, ?it/s]
Traceback (most recent call last):
File "Train.py", line 504, in
cross_validation(train_dataframe,fold_number=5)
File "Train.py", line 498, in cross_validation
train(model, train_dataframe, valid_dataframe, fold + 1)
File "Train.py", line 353, in train
epoch_loss_train_avg = train_one_epoch(model, train_loader, epoch + 1)
File "Train.py", line 241, in train_one_epoch
for data in tqdm(data_loader):
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/tqdm/std.py", line 1181, in iter
for obj in iterable:
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 631, in next
data = self._next_data()
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1346, in _next_data
return self._process_data(data)
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1372, in _process_data
data.reraise()
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/_utils.py", line 722, in reraise
raise exception
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
data = fetcher.fetch(index)
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/Users/dongjiacheng/Desktop/coder/mtd/code/Tm/GraphSol/Train.py", line 129, in getitem
sequence_feature = load_features(sequence_name, sequence, self.mean, self.std, self.blosum)
File "/Users/dongjiacheng/Desktop/coder/mtd/code/Tm/GraphSol/Train.py", line 72, in load_features
oneD_matrix = np.load(Dataset_Path + 'node_features/' + sequence_name + '.npy')
File "/Users/dongjiacheng/anaconda3/envs/graphsol/lib/python3.8/site-packages/numpy/lib/npyio.py", line 405, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: './Data/node_features/yfjG.npy'
The text was updated successfully, but these errors were encountered: