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 1.0k
link2: https://github.com/usuyama/pytorch-unet 339
link3: https://github.com/jvanvugt/pytorch-unet 210
link4: https://www.kaggle.com/witwitchayakarn/u-net-with-pytorch 224
If you did not understand any part or you have other questions, feel free to ask.