-
Daniel CARRON authored
As the criterion is not part of the model but instead a hyperparameter due to the use of configuration files, it is not moved to the GPU if selected as a device. We therefore manually move the criterion to the proper device, which is bad practice when using lightning but works.
Daniel CARRON authoredAs the criterion is not part of the model but instead a hyperparameter due to the use of configuration files, it is not moved to the GPU if selected as a device. We therefore manually move the criterion to the proper device, which is bad practice when using lightning but works.
densenet.py 3.22 KiB