SimCLR/exceptions/exceptions.py

11 lines
289 B
Python
Raw Normal View History

2021-01-17 14:12:17 -03:00
class BaseSimCLRException(Exception):
"""Base exception"""
class InvalidBackboneError(BaseSimCLRException):
2021-01-17 20:07:59 -03:00
"""Raised when the choice of backbone Convnet is invalid."""
class InvalidDatasetSelection(BaseSimCLRException):
"""Raised when the choice of dataset is invalid."""