{"action":"created","issue":{"url":"https://api.github.com/repos/zlkanata/DeepGlobe-Road-Extraction-Challenge/issues/4","repository_url":"https://api.github.com/repos/zlkanata/DeepGlobe-Road-Extraction-Challenge","labels_url":"https://api.github.com/repos/zlkanata/DeepGlobe-Road-Extraction-Challenge/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/zlkanata/DeepGlobe-Road-Extraction-Challenge/issues/4/comments","events_url":"https://api.github.com/repos/zlkanata/DeepGlobe-Road-Extraction-Challenge/issues/4/events","html_url":"https://github.com/zlkanata/DeepGlobe-Road-Extraction-Challenge/issues/4","id":370886669,"node_id":"MDU6SXNzdWUzNzA4ODY2Njk=","number":4,"title":"RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1512946747676/work/torch/lib/THC/generic/THCStorage.cu:58","user":{"login":"sanersbug","id":31174846,"node_id":"MDQ6VXNlcjMxMTc0ODQ2","avatar_url":"https://avatars0.githubusercontent.com/u/31174846?v=4","gravatar_id":"","url":"https://api.github.com/users/sanersbug","html_url":"https://github.com/sanersbug","followers_url":"https://api.github.com/users/sanersbug/followers","following_url":"https://api.github.com/users/sanersbug/following{/other_user}","gists_url":"https://api.github.com/users/sanersbug/gists{/gist_id}","starred_url":"https://api.github.com/users/sanersbug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanersbug/subscriptions","organizations_url":"https://api.github.com/users/sanersbug/orgs","repos_url":"https://api.github.com/users/sanersbug/repos","events_url":"https://api.github.com/users/sanersbug/events{/privacy}","received_events_url":"https://api.github.com/users/sanersbug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-17T03:45:39Z","updated_at":"2018-10-19T07:41:11Z","closed_at":null,"author_association":"NONE","body":"when i run python train.py using python virtual environment it shows the error. how to solve the error,anyone solved it? thanks a lot . Another, i have tried to use small batch size,but is doesn't work. \r\n\r\n<torch.utils.data.dataloader.DataLoader object at 0x7f3868b7d790>\r\nTHCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1512946747676/work/torch/lib/THC/generic/THCStorage.cu line=58 error=2 : out of memory\r\nTraceback (most recent call last):\r\n  File \"train.py\", line 47, in <module>\r\n    train_loss = solver.optimize()\r\n  File \"/mnt/saners-extend/DeepGlobe-Road-Extraction-Challenge/framework.py\", line 62, in optimize\r\n    pred = self.net.forward(self.img)\r\n  File \"/home/anaconda3/envs/road_extract/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py\", line 66, in forward\r\n    return self.module(*inputs[0], **kwargs[0])\r\n  File \"/home/anaconda3/envs/road_extract/lib/python2.7/site-packages/torch/nn/modules/module.py\", line 325, in __call__\r\n    result = self.forward(*input, **kwargs)\r\n  File \"/mnt/saners-extend/DeepGlobe-Road-Extraction-Challenge/networks/dinknet.py\", line 176, in forward\r\n    e3 = self.encoder3(e2)\r\n  File \"/home/anaconda3/envs/road_extract/lib/python2.7/site-packages/torch/nn/modules/module.py\", line 325, in __call__\r\n    result = self.forward(*input, **kwargs)\r\n  File \"/home/anaconda3/envs/road_extract/lib/python2.7/site-packages/torch/nn/modules/container.py\", line 67, in forward\r\n    input = module(input)\r\n  File \"/home/anaconda3/envs/road_extract/lib/python2.7/site-packages/torch/nn/modules/module.py\", line 325, in __call__\r\n    result = self.forward(*input, **kwargs)\r\n  File \"/home/anaconda3/envs/road_extract/lib/python2.7/site-packages/torchvision-0.1.9-py2.7.egg/torchvision/models/resnet.py\", line 41, in forward\r\n  File \"/home/anaconda3/envs/road_extract/lib/python2.7/site-packages/torch/nn/modules/module.py\", line 325, in __call__\r\n    result = self.forward(*input, **kwargs)\r\n  File \"/home/anaconda3/envs/road_extract/lib/python2.7/site-packages/torch/nn/modules/conv.py\", line 277, in forward\r\n    self.padding, self.dilation, self.groups)\r\n  File \"/home/anaconda3/envs/road_extract/lib/python2.7/site-packages/torch/nn/functional.py\", line 90, in conv2d\r\n    return f(input, weight, bias)\r\nRuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1512946747676/work/torch/lib/THC/generic/THCStorage.cu:58"},"comment":{"url":"https://api.github.com/repos/zlkanata/DeepGlobe-Road-Extraction-Challenge/issues/comments/431273952","html_url":"https://github.com/zlkanata/DeepGlobe-Road-Extraction-Challenge/issues/4#issuecomment-431273952","issue_url":"https://api.github.com/repos/zlkanata/DeepGlobe-Road-Extraction-Challenge/issues/4","id":431273952,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTI3Mzk1Mg==","user":{"login":"ZuxianShi","id":13671645,"node_id":"MDQ6VXNlcjEzNjcxNjQ1","avatar_url":"https://avatars2.githubusercontent.com/u/13671645?v=4","gravatar_id":"","url":"https://api.github.com/users/ZuxianShi","html_url":"https://github.com/ZuxianShi","followers_url":"https://api.github.com/users/ZuxianShi/followers","following_url":"https://api.github.com/users/ZuxianShi/following{/other_user}","gists_url":"https://api.github.com/users/ZuxianShi/gists{/gist_id}","starred_url":"https://api.github.com/users/ZuxianShi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZuxianShi/subscriptions","organizations_url":"https://api.github.com/users/ZuxianShi/orgs","repos_url":"https://api.github.com/users/ZuxianShi/repos","events_url":"https://api.github.com/users/ZuxianShi/events{/privacy}","received_events_url":"https://api.github.com/users/ZuxianShi/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T07:41:11Z","updated_at":"2018-10-19T07:41:11Z","author_association":"NONE","body":"Speaking of image size: Does fixed image size have an impact on network performance? Does the fixed image length and width affect the performance of the network?When I use the 1024*1024 .shp file to diced the .tif file, there are often some dicing that are not 1024*1024. If it is not fixed, how can I modify the code?"}}
{"actor":{"display_login":"ZuxianShi"}}