sefibk / KernelGAN

Other
337 stars 77 forks source link

How do you visualize the ".mat" files #74

Open JimjimChen opened 1 year ago

JimjimChen commented 1 year ago

Can you provide the code to visualize the.mat file? I have tried for a long time without success。

sefibk commented 1 year ago

It was a while ago... But from a quick Google - doesn't scipy.io.loadmat work?

JimjimChen commented 1 year ago

It was a while ago... But from a quick Google - doesn't scipy.io.loadmat work?

I tried, but why did the visualization result is an all-black picture

sefibk commented 1 year ago

If the values are not all 1 or 0 - simply normalize them. Although I am sure matplotlib has it internally