Hi @coder31, you should probably do it the same way as in the guide provided by @nielsr. Please let me know if you face any errors/difficulties. I would also recommend paying attention to ignore_index in the loss function because it is 255 by default and it will ignore the class with id=255 if you do not modify it.