I am getting above mentioned error, my pytorch version is '1.7.0'
You can check the doc for 1.7.0
https://pytorch.org/docs/1.7.0/search.html?q=gaussiannllloss&check_keywords=yes&area=default this module did not exist back then.
You will need to use 1.8+
to be able to use that: Search — PyTorch 1.8.1 documentation
1 Like