@RQuispeC When we launched your code the errors appeared, for example "out of range" and problems with shape. If you have some info about training model on Shanghai Tech dataset, please inform us.
P.S. We tried to train our models on Shanghai Tech dataset