Hi,
Yes of course.
Here is some link to implementation of Github community. They have trained their model and used, so they have to be correct.
link1: https://github.com/milesial/Pytorch-UNet
link2: https://github.com/usuyama/pytorch-unet
link3: https://github.com/jvanvugt/pytorch-unet
link4: https://www.kaggle.com/witwitchayakarn/u-net-with-pytorch
If you did not understand any part or you have other questions, feel free to ask.