soltanianzadeh / STNeuroNet

Software for the paper "Fast and robust active neuron segmentation in two-photon calcium imaging using spatio-temporal deep learning," Proceedings of the National Academy of Sciences (PNAS), 2019.
https://www.pnas.org/content/early/2019/04/10/1812995116
Apache License 2.0
60 stars 26 forks source link

Cannot unzip file. tempdir needs write permissions and sufficient free space. #17

Open Kapok1222 opened 2 years ago

Kapok1222 commented 2 years ago

@soltanianzadeh Hello, when I was running the demo_ inference.py file, I encountered this problem. If I can get your help, it will be very happy for me.

matlab_pysdk.runtime.MatlabRuntimeError: An error occurred when evaluating the result from a function. Details: File C:\Users\hp\AppData\Local\Temp\hp\mcrCache9.3\STNeur0\toolbox\images\iptformats+images+internal+nifti\niftiFile.m, line 130, in niftiFile.getUncompressedFileName

File C:\Users\hp\AppData\Local\Temp\hp\mcrCache9.3\STNeur0\toolbox\images\iptformats+images+internal+nifti\niftiFile.m, line 45, in niftiFile.niftiFile

File C:\Users\hp\AppData\Local\Temp\hp\mcrCache9.3\STNeur0\toolbox\images\iptformats\niftiread.m, line 66, in niftiread

File C:\Users\hp\AppData\Local\Temp\hp\mcrCache9.3\STNeur0\FarsiuPrivate\Soltanian-Zadeh\NiftyNet\Code and data review\Software\utility functions\HomoFilt_Normalize.m, line 44, in HomoFilt_Normalize Cannot unzip file. tempdir needs write permissions and sufficient free space.

Run this sentence to the problem in the code:

matlabLib.HomoFilt_Normalize(data_file,DirSaveData,name[0],s,nargout=0)

I think it should be caused by the lack of this file:'F:\STNeuroNet-master\Dataset\ABO\524691284_processed.nii.gz'