Comments (2)
I'm trying to run the code on CPU inside a docker container, I believe all my dependencies are in place but I'm receiving the following error.
File "1_train_predictor.py", line 77, in
train_dataset = TimeseriesData.batchify(args,TimeseriesData.trainData, args.batch_size)
File "/home/RNN-Time-series-Anomaly-Detection/preprocess_data.py", line 65, in batchify
batched_data = batched_data.to(device(args.device))
RuntimeError: Cannot initialize CUDA without ATen_cuda library. PyTorch splits its backend into two shared libraries: a CPU library and a CUDA library; this error has occurred because you are trying to use some CUDA functionality, but the CUDA library has not been loaded by the dynamic linker for some reason. The CUDA library MUST be loaded, EVEN IF you don't directly use any symbols from the CUDA library!This issue appears to be tied into the Pytorch version I am using:
pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp35-cp35m-linux_x86_64.whl
After rebuilding the Docker container for my desktop system with GPU usinglibnccl-dev=2.2.13-1+cuda9.0
my error changed:RuntimeError: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at /pytorch/aten/src/THC/THCGeneral.cpp:74
Both of these errors appear to be a result of trying to build the Docker container with a Windows or Mac host OS. Nvidia Docker requires a Linux host.
I was able to run the model using p2.xlarge instance on AWS with Deep Learning AMI using a GPU but the same instance failed to run with a CPU flag.
It means there is no way to fix it on windows?
from rnn-time-series-anomaly-detection.
Could you please post the command line you run to execute the network? to see, if there is anything wrong there!
from rnn-time-series-anomaly-detection.
Related Issues (20)
- training loop
- loss function
- [BUG]: Model saving logic is wrong HOT 1
- [BUG]: Computing normal stats is wrong
- UnicodeDecodeError on Windows10 HOT 3
- RuntimeError: view size is not compatible with input tensor's size and stride HOT 2
- Training on Custom Dataset
- Operation does not have an identity.
- What if you have taxi data from multiple states?
- repackage_hidden의 역할이 뭔가요? HOT 1
- The program is stuck when running SRU, there is no prompt message
- error changes HOT 1
- Runtime error running example HOT 3
- resume problem
- RuntimeError when using tie_weights=True
- Labels of the datasets HOT 1
- paper
- 调通代码
- what data augmentation method you use?
- A question about the size of the rnn input emb in function forward HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rnn-time-series-anomaly-detection.