The loss: Weighted cross entropy loss is used, as described in enet [1]}, where weights are assigned based on the frequency of the classes encountered, following this equation:
\(loss = \frac{1.0}{log(1.02 + class\_frequency)}\) 
