Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in dlopen or dlsym #43

Open
sbrahma0 opened this issue Jan 6, 2021 · 0 comments
Open

Error in dlopen or dlsym #43

sbrahma0 opened this issue Jan 6, 2021 · 0 comments

Comments

@sbrahma0
Copy link

sbrahma0 commented Jan 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant