{"action":"created","issue":{"url":"https://api.github.com/repos/jcjohnson/densecap/issues/27","repository_url":"https://api.github.com/repos/jcjohnson/densecap","labels_url":"https://api.github.com/repos/jcjohnson/densecap/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/jcjohnson/densecap/issues/27/comments","events_url":"https://api.github.com/repos/jcjohnson/densecap/issues/27/events","html_url":"https://github.com/jcjohnson/densecap/issues/27","id":171307247,"number":27,"title":"Does cnDNN version need 5?","user":{"login":"PPeiMi","id":4350459,"avatar_url":"https://avatars.githubusercontent.com/u/4350459?v=3","gravatar_id":"","url":"https://api.github.com/users/PPeiMi","html_url":"https://github.com/PPeiMi","followers_url":"https://api.github.com/users/PPeiMi/followers","following_url":"https://api.github.com/users/PPeiMi/following{/other_user}","gists_url":"https://api.github.com/users/PPeiMi/gists{/gist_id}","starred_url":"https://api.github.com/users/PPeiMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PPeiMi/subscriptions","organizations_url":"https://api.github.com/users/PPeiMi/orgs","repos_url":"https://api.github.com/users/PPeiMi/repos","events_url":"https://api.github.com/users/PPeiMi/events{/privacy}","received_events_url":"https://api.github.com/users/PPeiMi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-16T02:20:43Z","updated_at":"2016-08-16T02:35:32Z","closed_at":null,"body":"As I'm following the Installation guide, and going to train with GPU after install cuDNN. But there are some bugs:\r\n```\r\n[/home/PPeiMi/densecap-master] 10:06\r\n$ ./../torch/install/bin/th train.lua -data_h5 output.HDF5 -data_json output.json -gpu 2\r\n{\r\n  finetune_cnn_after : -1\r\n  weight_decay : 1e-06\r\n  optim_beta2 : 0.999\r\n  val_images_use : 1000\r\n  timing : false\r\n  optim_epsilon : 1e-08\r\n  test_num_proposals : 1000\r\n  input_encoding_size : 512\r\n  losses_log_every : 10\r\n  id : \"\"\r\n  gpu : 2\r\n  drop_prob : 0.5\r\n  data_json : \"output.json\"\r\n  clip_final_boxes : 1\r\n  sampler_batch_size : 256\r\n  rnn_size : 512\r\n  test_rpn_nms_thresh : 0.7\r\n  progress_dump_every : 100\r\n  optim_beta1 : 0.9\r\n  end_objectness_weight : 0.1\r\n  seed : 123\r\n  test_final_nms_thresh : 0.3\r\n  eval_first_iteration : 0\r\n  captioning_weight : 1\r\n  checkpoint_start_from : \"\"\r\n  sampler_high_thresh : 0.7\r\n  mid_objectness_weight : 0.1\r\n  data_h5 : \"output.HDF5\"\r\n  train_remove_outbounds_boxes : 1\r\n  sampler_low_thresh : 0.3\r\n  debug_max_train_images : -1\r\n  learning_rate : 1e-05\r\n  rpn_hidden_dim : 512\r\n  max_iters : -1\r\n  checkpoint_path : \"checkpoint.t7\"\r\n  save_checkpoint_every : 10000\r\n  end_box_reg_weight : 0.1\r\n  proposal_regions_h5 : \"\"\r\n  backend : \"cudnn\"\r\n  mid_box_reg_weight : 0.05\r\n  box_reg_decay : 5e-05\r\n}\r\nnil\t\r\n/home/PPeiMi/torch/install/bin/luajit: /home/PPeiMi/torch/install/share/lua/5.1/trepl/init.lua:384: /home/PPeiMi/torch/install/share/lua/5.1/trepl/init.lua:384: /home/PPeiMi/.luarocks/share/lua/5.1/cudnn/ffi.lua:1598: 'libcudnn (R5) not found in library path.\r\nPlease install CuDNN from https://developer.nvidia.com/cuDNN\r\nThen make sure files named as libcudnn.so.5 or libcudnn.5.dylib are placed in your library load path (for example /usr/local/lib , or manually add a path to LD_LIBRARY_PATH)\r\n\r\nstack traceback:\r\n\t[C]: in function 'error'\r\n\t/home/PPeiMi/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'\r\n\ttrain.lua:35: in main chunk\r\n\t[C]: in function 'dofile'\r\n\t...eiMi/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk\r\n\t[C]: at 0x00405840\r\n```\r\n\r\n\r\n\r\n\r\n\r\nIt says the version of cuDNN needs to be version 5. In the CUDA website, the cuDNN v5 according to CUDA 7.5, however, my CUDA version is only 7.0. Do I have to update my CUDA, or is there any method that can fix this problem?"},"comment":{"url":"https://api.github.com/repos/jcjohnson/densecap/issues/comments/239985990","html_url":"https://github.com/jcjohnson/densecap/issues/27#issuecomment-239985990","issue_url":"https://api.github.com/repos/jcjohnson/densecap/issues/27","id":239985990,"user":{"login":"jcjohnson","id":2718714,"avatar_url":"https://avatars.githubusercontent.com/u/2718714?v=3","gravatar_id":"","url":"https://api.github.com/users/jcjohnson","html_url":"https://github.com/jcjohnson","followers_url":"https://api.github.com/users/jcjohnson/followers","following_url":"https://api.github.com/users/jcjohnson/following{/other_user}","gists_url":"https://api.github.com/users/jcjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/jcjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcjohnson/subscriptions","organizations_url":"https://api.github.com/users/jcjohnson/orgs","repos_url":"https://api.github.com/users/jcjohnson/repos","events_url":"https://api.github.com/users/jcjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/jcjohnson/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T02:35:32Z","updated_at":"2016-08-16T02:35:32Z","body":"If you don't want to update your CUDA then you'll have to stick with cuDNN v4; if you want to do that then you can install the cuDNN v4 Torch bindings like this:\r\n\r\n```bash\r\nluarocks install https://raw.githubusercontent.com/soumith/cudnn.torch/R4/cudnn-scm-1.rockspec\r\n```"}}
{"actor":{"display_login":"jcjohnson"}}