when I tested this code:

import numpy as np
from scipy import ndimage as img
from scipy import io as sio
import matplotlib.pyplot as plt
import pyshearlab
from os.path import dirname, join as pjoin
import scipy.io as sio
import  torch
tic()

sigma = 30
scales = 3
thresholdingFactor = 3

imd = pjoin('./data/', 'image.mat')
X = sio.loadmat(imd)

shearletSystem = pyshearlab.SLgetShearletSystem2D(0,X.shape[0], X.shape[1], scales)

error:
AttributeError: ‘dict’ object has no attribute ‘shape’