malonzo47 / pynita_GUI

pynita_GUI is python GUI based implementation of Noise Insensitive Trajectory Algorithm (NITA)
4 stars 3 forks source link

hanging when attempting to plot (large?) images #48

Closed malonzo47 closed 5 years ago

malonzo47 commented 5 years ago

After running a large image stack, the saving worked fine but plotting seems problematic. While attempting to plot 2 metric images simultaneously the system hung. I've seen this happen before. Not sure what happens with only one image at this point. It's odd because most of the real work is already done.

vasusingla commented 5 years ago

GUI or script?

pytoPN commented 5 years ago

If you are trying to plot the old way, then you need to add, title = "some title" and label= "some color label" toward the end,

e.g., nita.MI_postDistSlope(plot=True, save=True, fn='postdistslope.tif', title = title, label=label)

malonzo47 commented 5 years ago

This is via GUI

On Fri, Mar 1, 2019 at 1:34 PM pytoPN notifications@github.com wrote:

If you are trying to plot the old way, then you need to add, title = "some title" and label= "some color label" toward the end, e.g., nita.MI_postDistSlope(plot=True, save=True, fn='postdistslope.tif', title = title, label=label)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/malonzo47/pynita_GUI/issues/48#issuecomment-468765168, or mute the thread https://github.com/notifications/unsubscribe-auth/AOh1_Hvk67Ymwp4JInf3NcfZKPncubCcks5vSXLLgaJpZM4bZkmH .

pytoPN commented 5 years ago

Is this on sesync machine?

vasusingla commented 5 years ago

Also which dataset did you use for this?

malonzo47 commented 5 years ago

SESYNC machine. Ran the stack in here and associated dates: N:\sesync\Murillo\input\test_forPyNita

vasusingla commented 5 years ago

Can't run this dataset, getting error on data_loader for some reason. Plotting seems to be working fine for small demo image.

malonzo47 commented 5 years ago

Yeah, this data_loader thing seems to be the main issue (the BigTiff issue logged for hurni and walters)

On Fri, Mar 1, 2019 at 2:06 PM vasusingla619 notifications@github.com wrote:

Can't run this dataset, getting error on data_loader for some reason. Plotting seems to be working fine for small demo image.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/malonzo47/pynita_GUI/issues/48#issuecomment-468776100, or mute the thread https://github.com/notifications/unsubscribe-auth/AOh1_A1qoAFdyDuHcWFmCDjoxIERHw6vks5vSXpSgaJpZM4bZkmH .

vasusingla commented 5 years ago

I am having the same issue with this dataset as well, BigTIFF format, fails to load. Was anyone able to run this? If yes, on what machine?

malonzo47 commented 5 years ago

This dataset we could load/process on sesync via Paulo (but could not load via Alex) then it hung in step 4.

On Sat, Mar 2, 2019, 5:10 AM vasusingla619 notifications@github.com wrote:

I am having the same issue with this dataset as well, BigTIFF format, fails to load. Was anyone able to run this? If yes, on what machine?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/malonzo47/pynita_GUI/issues/48#issuecomment-468906979, or mute the thread https://github.com/notifications/unsubscribe-auth/AOh1_JYG4LVhncJdrzsbe5rgEmWdB5YPks5vSk4dgaJpZM4bZkmH .

vasusingla commented 5 years ago

I was able to run the Murillo dataset and plot 2 images (disturbance date and disturbance duration) at once. Could you provide an exact way to reproduce? Maybe it got fixed, with the BigTIFF issue?

malonzo47 commented 5 years ago

I'll try. How long did it take to pop up the images, approximately?

On Mon, Mar 4, 2019 at 2:30 AM vasusingla619 notifications@github.com wrote:

I was able to run the Murillo dataset and plot 2 images (disturbance date and disturbance duration) at once. Could you provide an exact way to reproduce? Maybe it got fixed, with the BigTIFF issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/malonzo47/pynita_GUI/issues/48#issuecomment-469146807, or mute the thread https://github.com/notifications/unsubscribe-auth/AOh1_NBL4LN3e7x93CLLdVfBpCEuV3Crks5vTMuDgaJpZM4bZkmH .

vasusingla commented 5 years ago

3-5 sec approx. BTW - images were on top of each other, so you will need to drag to view.

malonzo47 commented 5 years ago

I just ran all images (to plot) on this dataset and it took about 1.8 minutes, which is not terrible. I will close this and open new, smaller issue to change check boxes in step 4 (for plotting) to radio buttons.