-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read HSI data #1
Comments
Hello, try to update your scipy package and try this again.
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
…On Tue, 15 Mar 2022 at 00:17, ALOU DIAKITE ***@***.***> wrote:
Hello, I am using a tensorflow-gpu == 1.13.1 and trying to read the .mat
file, but it's throwing this error:
Traceback (most recent call last):
File "run.py", line 225, in
X, y = loadData(dataset)
File "run.py", line 50, in loadData
mat_data = sio.loadmat(data_path + 'PaviaU.mat')
File
"C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio.py",
line 226, in loadmat
matfile_dict = MR.get_variables(variable_names)
File
"C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py",
line 332, in get_variables
res = self.read_var_array(hdr, process)
File
"C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py",
line 292, in read_var_array
return self._matrix_reader.array_from_header(header, process)
File "mio5_utils.pyx", line 671, in
scipy.io.matlab.mio5_utils.VarReader5.array_from_header
File "mio5_utils.pyx", line 701, in
scipy.io.matlab.mio5_utils.VarReader5.array_from_header
File "mio5_utils.pyx", line 775, in
scipy.io.matlab.mio5_utils.VarReader5.read_real_complex
File "mio5_utils.pyx", line 448, in
scipy.io.matlab.mio5_utils.VarReader5.read_numeric
File "mio5_utils.pyx", line 353, in
scipy.io.matlab.mio5_utils.VarReader5.read_element
File "streams.pyx", line 174, in
scipy.io.matlab.streams.ZlibInputStream.read_string
File "streams.pyx", line 150, in
scipy.io.matlab.streams.ZlibInputStream.read_into
File "streams.pyx", line 137, in
scipy.io.matlab.streams.ZlibInputStream._fill_buffer
zlib.error: Error -3 while decompressing data: invalid block type
Please, I need some help. Thanks
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOL2ACJ2E4FOCTNEOKHFWJ3U76CVNANCNFSM5QWNROIA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It would be helpful if you could show me the script.
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
…On Tue, 15 Mar 2022 at 10:38, Ankur Deria ***@***.***> wrote:
Hello, try to update your scipy package and try this again.
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#m_-460989154685232177_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, 15 Mar 2022 at 00:17, ALOU DIAKITE ***@***.***>
wrote:
> Hello, I am using a tensorflow-gpu == 1.13.1 and trying to read the .mat
> file, but it's throwing this error:
>
> Traceback (most recent call last):
> File "run.py", line 225, in
> X, y = loadData(dataset)
> File "run.py", line 50, in loadData
> mat_data = sio.loadmat(data_path + 'PaviaU.mat')
> File
> "C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio.py",
> line 226, in loadmat
> matfile_dict = MR.get_variables(variable_names)
> File
> "C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py",
> line 332, in get_variables
> res = self.read_var_array(hdr, process)
> File
> "C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py",
> line 292, in read_var_array
> return self._matrix_reader.array_from_header(header, process)
> File "mio5_utils.pyx", line 671, in
> scipy.io.matlab.mio5_utils.VarReader5.array_from_header
> File "mio5_utils.pyx", line 701, in
> scipy.io.matlab.mio5_utils.VarReader5.array_from_header
> File "mio5_utils.pyx", line 775, in
> scipy.io.matlab.mio5_utils.VarReader5.read_real_complex
> File "mio5_utils.pyx", line 448, in
> scipy.io.matlab.mio5_utils.VarReader5.read_numeric
> File "mio5_utils.pyx", line 353, in
> scipy.io.matlab.mio5_utils.VarReader5.read_element
> File "streams.pyx", line 174, in
> scipy.io.matlab.streams.ZlibInputStream.read_string
> File "streams.pyx", line 150, in
> scipy.io.matlab.streams.ZlibInputStream.read_into
> File "streams.pyx", line 137, in
> scipy.io.matlab.streams.ZlibInputStream._fill_buffer
> zlib.error: Error -3 while decompressing data: invalid block type
>
> Please, I need some help. Thanks
>
> —
> Reply to this email directly, view it on GitHub
> <#1>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOL2ACJ2E4FOCTNEOKHFWJ3U76CVNANCNFSM5QWNROIA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
Alright, I will try out. Thanks
On Tue, Mar 15, 2022 at 1:09 PM Ankur Deria ***@***.***>
wrote:
… Hello, try to update your scipy package and try this again.
<
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
Virus-free.
www.avg.com
<
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, 15 Mar 2022 at 00:17, ALOU DIAKITE ***@***.***> wrote:
> Hello, I am using a tensorflow-gpu == 1.13.1 and trying to read the .mat
> file, but it's throwing this error:
>
> Traceback (most recent call last):
> File "run.py", line 225, in
> X, y = loadData(dataset)
> File "run.py", line 50, in loadData
> mat_data = sio.loadmat(data_path + 'PaviaU.mat')
> File
>
"C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio.py",
> line 226, in loadmat
> matfile_dict = MR.get_variables(variable_names)
> File
>
"C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py",
> line 332, in get_variables
> res = self.read_var_array(hdr, process)
> File
>
"C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py",
> line 292, in read_var_array
> return self._matrix_reader.array_from_header(header, process)
> File "mio5_utils.pyx", line 671, in
> scipy.io.matlab.mio5_utils.VarReader5.array_from_header
> File "mio5_utils.pyx", line 701, in
> scipy.io.matlab.mio5_utils.VarReader5.array_from_header
> File "mio5_utils.pyx", line 775, in
> scipy.io.matlab.mio5_utils.VarReader5.read_real_complex
> File "mio5_utils.pyx", line 448, in
> scipy.io.matlab.mio5_utils.VarReader5.read_numeric
> File "mio5_utils.pyx", line 353, in
> scipy.io.matlab.mio5_utils.VarReader5.read_element
> File "streams.pyx", line 174, in
> scipy.io.matlab.streams.ZlibInputStream.read_string
> File "streams.pyx", line 150, in
> scipy.io.matlab.streams.ZlibInputStream.read_into
> File "streams.pyx", line 137, in
> scipy.io.matlab.streams.ZlibInputStream._fill_buffer
> zlib.error: Error -3 while decompressing data: invalid block type
>
> Please, I need some help. Thanks
>
> —
> Reply to this email directly, view it on GitHub
> <#1>, or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AOL2ACJ2E4FOCTNEOKHFWJ3U76CVNANCNFSM5QWNROIA
>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
>
> or Android
> <
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
>.
>
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFOVODUVMBED4KU5UK5HGMTVAALPVANCNFSM5QWNROIA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Here are the picture of the script and the error message
On Tue, Mar 15, 2022 at 2:09 PM Ankur Deria ***@***.***>
wrote:
… It would be helpful if you could show me the script.
<
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
Virus-free.
www.avg.com
<
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, 15 Mar 2022 at 10:38, Ankur Deria ***@***.***> wrote:
> Hello, try to update your scipy package and try this again.
>
>
> <
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
> www.avg.com
> <
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>
> <#m_-460989154685232177_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Tue, 15 Mar 2022 at 00:17, ALOU DIAKITE ***@***.***>
> wrote:
>
>> Hello, I am using a tensorflow-gpu == 1.13.1 and trying to read the .mat
>> file, but it's throwing this error:
>>
>> Traceback (most recent call last):
>> File "run.py", line 225, in
>> X, y = loadData(dataset)
>> File "run.py", line 50, in loadData
>> mat_data = sio.loadmat(data_path + 'PaviaU.mat')
>> File
>>
"C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio.py",
>> line 226, in loadmat
>> matfile_dict = MR.get_variables(variable_names)
>> File
>>
"C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py",
>> line 332, in get_variables
>> res = self.read_var_array(hdr, process)
>> File
>>
"C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py",
>> line 292, in read_var_array
>> return self._matrix_reader.array_from_header(header, process)
>> File "mio5_utils.pyx", line 671, in
>> scipy.io.matlab.mio5_utils.VarReader5.array_from_header
>> File "mio5_utils.pyx", line 701, in
>> scipy.io.matlab.mio5_utils.VarReader5.array_from_header
>> File "mio5_utils.pyx", line 775, in
>> scipy.io.matlab.mio5_utils.VarReader5.read_real_complex
>> File "mio5_utils.pyx", line 448, in
>> scipy.io.matlab.mio5_utils.VarReader5.read_numeric
>> File "mio5_utils.pyx", line 353, in
>> scipy.io.matlab.mio5_utils.VarReader5.read_element
>> File "streams.pyx", line 174, in
>> scipy.io.matlab.streams.ZlibInputStream.read_string
>> File "streams.pyx", line 150, in
>> scipy.io.matlab.streams.ZlibInputStream.read_into
>> File "streams.pyx", line 137, in
>> scipy.io.matlab.streams.ZlibInputStream._fill_buffer
>> zlib.error: Error -3 while decompressing data: invalid block type
>>
>> Please, I need some help. Thanks
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#1>, or unsubscribe
>> <
https://github.com/notifications/unsubscribe-auth/AOL2ACJ2E4FOCTNEOKHFWJ3U76CVNANCNFSM5QWNROIA
>
>> .
>> Triage notifications on the go with GitHub Mobile for iOS
>> <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
>
>> or Android
>> <
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
>.
>>
>> You are receiving this because you are subscribed to this thread.Message
>> ID: ***@***.***>
>>
>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFOVODQDI73PWGLDBFXLB73VAASRBANCNFSM5QWNROIA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I am using a tensorflow-gpu == 1.13.1 and trying to read the .mat file, but it's throwing this error:
Traceback (most recent call last):
File "run.py", line 225, in
X, y = loadData(dataset)
File "run.py", line 50, in loadData
mat_data = sio.loadmat(data_path + 'PaviaU.mat')
File "C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio.py", line 226, in loadmat
matfile_dict = MR.get_variables(variable_names)
File "C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py", line 332, in get_variables
res = self.read_var_array(hdr, process)
File "C:\Users\Alou\anaconda3\envs\paper\lib\site-packages\scipy\io\matlab\mio5.py", line 292, in read_var_array
return self._matrix_reader.array_from_header(header, process)
File "mio5_utils.pyx", line 671, in scipy.io.matlab.mio5_utils.VarReader5.array_from_header
File "mio5_utils.pyx", line 701, in scipy.io.matlab.mio5_utils.VarReader5.array_from_header
File "mio5_utils.pyx", line 775, in scipy.io.matlab.mio5_utils.VarReader5.read_real_complex
File "mio5_utils.pyx", line 448, in scipy.io.matlab.mio5_utils.VarReader5.read_numeric
File "mio5_utils.pyx", line 353, in scipy.io.matlab.mio5_utils.VarReader5.read_element
File "streams.pyx", line 174, in scipy.io.matlab.streams.ZlibInputStream.read_string
File "streams.pyx", line 150, in scipy.io.matlab.streams.ZlibInputStream.read_into
File "streams.pyx", line 137, in scipy.io.matlab.streams.ZlibInputStream._fill_buffer
zlib.error: Error -3 while decompressing data: invalid block type
Please, I need some help. Thanks
The text was updated successfully, but these errors were encountered: