I'm trying to run Google's DeepDream
on my CIFAR10 pretrained models.
The script can be found here .
The issue is recently I tried to run the script, to my surprise, halfway the operation, the whole thing crashes with this error message :
Check failed: error == cudaSuccess (4 vs. 0) unspecified launch failure
I used to run the scrip without any issues, with different input image sizes. but now, only the CPU mode runs well, if I switch to GPU, it crashes!
I even re-installed CUDA, used newer version of cudnn (from 4 to cudnn5.1) and even re-installed the whole Win10 Os to no luck.
I tried using exceptions, but I get nothing, ! I dont know where this stems from.
I run the scripts with iter_n=500 and octave_n=4 , and input images have varting sizes, from 32x32 to 1024x1024, they all fail halfway (some at the very begining! and some others at the very end!)
Any help is greatly appreciated.
void caffe_gpu_memcpy(const size_t N, const void* X, void* Y) {
if (X != Y) {
CUDA_CHECK(cudaMemcpy(Y, X, N, cudaMemcpyDefault)); // NOLINT(caffe/alt_fn)
}
}