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
RuntimeError Traceback (most recent call last)
in
198 for epoch in range(epochs):
199 # train, test model
--> 200 train_losses, train_scores = train(log_interval, [cnn_encoder, rnn_decoder], device, train_loader, optimizer, epoch)
201 epoch_test_loss, epoch_test_score = validation([cnn_encoder, rnn_decoder], device, optimizer, valid_loader)
202
in train(log_interval, model, device, train_loader, optimizer, epoch)
36 N_count = 0 # counting total trained sample in one epoch
37 print(train_loader)
---> 38 for batch_idx, (X, y) in enumerate(train_loader):
39 print("in the loop")
40 # distribute data to device
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/dataloader.py in next(self)
433 if self._sampler_iter is None:
434 self._reset()
--> 435 data = self._next_data()
436 self._num_yielded += 1
437 if self._dataset_kind == _DatasetKind.Iterable and \
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/dataloader.py in _next_data(self)
475 data = self._dataset_fetcher.fetch(index) # may raise StopIteration
476 if self._pin_memory:
--> 477 data = _utils.pin_memory.pin_memory(data)
478 return data
479
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py in pin_memory(data)
53 return type(data)(*(pin_memory(sample) for sample in data))
54 elif isinstance(data, container_abcs.Sequence):
---> 55 return [pin_memory(sample) for sample in data]
56 elif hasattr(data, "pin_memory"):
57 return data.pin_memory()
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py in (.0)
53 return type(data)(*(pin_memory(sample) for sample in data))
54 elif isinstance(data, container_abcs.Sequence):
---> 55 return [pin_memory(sample) for sample in data]
56 elif hasattr(data, "pin_memory"):
57 return data.pin_memory()
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py in pin_memory(data)
45 def pin_memory(data):
46 if isinstance(data, torch.Tensor):
---> 47 return data.pin_memory()
48 elif isinstance(data, string_classes):
49 return data
RuntimeError: Error in dlopen or dlsym: libcaffe2_nvrtc.so: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
RuntimeError Traceback (most recent call last)
in
198 for epoch in range(epochs):
199 # train, test model
--> 200 train_losses, train_scores = train(log_interval, [cnn_encoder, rnn_decoder], device, train_loader, optimizer, epoch)
201 epoch_test_loss, epoch_test_score = validation([cnn_encoder, rnn_decoder], device, optimizer, valid_loader)
202
in train(log_interval, model, device, train_loader, optimizer, epoch)
36 N_count = 0 # counting total trained sample in one epoch
37 print(train_loader)
---> 38 for batch_idx, (X, y) in enumerate(train_loader):
39 print("in the loop")
40 # distribute data to device
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/dataloader.py in next(self)
433 if self._sampler_iter is None:
434 self._reset()
--> 435 data = self._next_data()
436 self._num_yielded += 1
437 if self._dataset_kind == _DatasetKind.Iterable and \
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/dataloader.py in _next_data(self)
475 data = self._dataset_fetcher.fetch(index) # may raise StopIteration
476 if self._pin_memory:
--> 477 data = _utils.pin_memory.pin_memory(data)
478 return data
479
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py in pin_memory(data)
53 return type(data)(*(pin_memory(sample) for sample in data))
54 elif isinstance(data, container_abcs.Sequence):
---> 55 return [pin_memory(sample) for sample in data]
56 elif hasattr(data, "pin_memory"):
57 return data.pin_memory()
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py in (.0)
53 return type(data)(*(pin_memory(sample) for sample in data))
54 elif isinstance(data, container_abcs.Sequence):
---> 55 return [pin_memory(sample) for sample in data]
56 elif hasattr(data, "pin_memory"):
57 return data.pin_memory()
/endosome/work/bioinformatics/s202678/CNN-LSTM-Pytorch/lib/python3.7/site-packages/torch/utils/data/_utils/pin_memory.py in pin_memory(data)
45 def pin_memory(data):
46 if isinstance(data, torch.Tensor):
---> 47 return data.pin_memory()
48 elif isinstance(data, string_classes):
49 return data
RuntimeError: Error in dlopen or dlsym: libcaffe2_nvrtc.so: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: