DiamondLightSource / SuRVoS

(Su)per (R)egion (Vo)lume (S)egmentaton workbench
Apache License 2.0
25 stars 5 forks source link

GPU memory issue Windows 10 #46

Closed ememuri closed 6 years ago

ememuri commented 6 years ago

I have recently installed SuRVos on two Windows 10 machines and it is constantly crashing, even when only small data sets are being used (smaller than those I tested SuRVos on when at Diamond). I received the following as an error when computing supervoxels on one of the computers:

[GPU] Selected CUDA device: 0 [GPU] Device 0: "GeForce GTX 1060 6GB" with compute capability .1, 1024 threads pb. [CUDA ERROR] Memcpy back: an illegal memory access was encountered QObject: :~Timers cannot be stopped from another thread

Both computers have Python 3.6 and Anaconda3 running on them.

srikanthnagella commented 6 years ago

It is indeed a bug. i will work on it and will let you know. On Thu, May 31, 2018 at 9:31 AM, ememuri notifications@github.com wrote:

I have recently installed SuRVos on two Windows 10 machines and it is constantly crashing, even when only small data sets are being used (smaller than those I tested SuRVos on when at Diamond). I received the following as an error when computing supervoxels on one of the computers:

[GPU] Selected CUDA device: 0 [GPU] Device 0: "GeForce GTX 1060 6GB" with compute capability .1, 1024 threads pb. [CUDA ERROR] Memcpy back: an illegal memory access was encountered QObject: :~Timers cannot be stopped from another thread

Both computers have Python 3.6 and Anaconda3 running on them.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DiamondLightSource/SuRVoS/issues/46, or mute the thread https://github.com/notifications/unsubscribe-auth/AAovcW3yyjrLNiXn5w_xklv0knjjTGyZks5t36p6gaJpZM4UUoY7 .

srikanthnagella commented 6 years ago

temporary measure is to change the ROI to 64, 128,256,512,1024 cubes.

srikanthnagella commented 6 years ago

I have now fixed this bug and uploaded the latest version. Let me know if you encounter anymore bugs.

ememuri commented 6 years ago

Hi Sri,

Below is a link to the folder with the data sets and workspace that has caused the problem. The workspace is the Test_1 folder. However, I have tried other data sets and have had the same problem so it does not seem to be data/specific. With the Test_1 workspace, survos crashes when we try to calculate the frangi filter or when we try to reduce the size of the supervoxels. Another error that I have received when computing the frangi filter is below the link.

Cheers,

Emily Baird

/CT_2/Inga !!! Removed the link

Computing Feature: frangi

compute_channel

On 31 May 2018 at 10:59, Srikanth Nagella notifications@github.com wrote:

Can you please send me a dataset so that i can replicate the error.

On Thu, May 31, 2018 at 9:31 AM, ememuri notifications@github.com wrote:

I have recently installed SuRVos on two Windows 10 machines and it is constantly crashing, even when only small data sets are being used (smaller than those I tested SuRVos on when at Diamond). I received the following as an error when computing supervoxels on one of the computers:

[GPU] Selected CUDA device: 0 [GPU] Device 0: "GeForce GTX 1060 6GB" with compute capability .1, 1024 threads pb. [CUDA ERROR] Memcpy back: an illegal memory access was encountered QObject: :~Timers cannot be stopped from another thread

Both computers have Python 3.6 and Anaconda3 running on them.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DiamondLightSource/SuRVoS/issues/46, or mute the thread https://github.com/notifications/unsubscribe-auth/AAovcW3yyjrLNiXn5w_ xklv0knjjTGyZks5t36p6gaJpZM4UUoY7 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DiamondLightSource/SuRVoS/issues/46#issuecomment-393463903, or mute the thread https://github.com/notifications/unsubscribe-auth/AMgqNbcZf_KFiklS3smPqEyheJwwh2flks5t37D6gaJpZM4UUoY7 .

srikanthnagella commented 6 years ago

Ahh. got the problem. your dataset size are more than 1024pixels in width / height. SuRVoS - 1 only supports 1024pixel images. you can either resize your datasets or you can select ROI tab in SuRVoS and select a reduced region. remember that total pixels in each dimensions should be less than 1024pixels. The other reason could be your system doesn't have enough memory to run the filter. To run a Frangi filter for a 96x1024x1024 it can take about 12GB free ram.