YuxiangZhang-BIT / IEEE_TGRS_LDGnet

Language-aware Domain Generalization Network for Cross-Scene Hyperspectral Image Classification, IEEE TGRS, 2023.
MIT License
42 stars 6 forks source link

return h5py.File(dataset).transpose(1, 2, 0) #6

Open W2087838645 opened 11 months ago

W2087838645 commented 11 months ago

Hello author,How to solve the problem of " AttributeError: 'File' object has no attribute 'transpose' "?

YuxiangZhang-BIT commented 11 months ago

Hello author,How to solve the problem of " AttributeError: 'File' object has no attribute 'transpose' "?

I have made fixes in get_dataset() for datasets.py and open_file() for utils_HSI.py.