Exceptions
UnknownTypeException
Bases: Exception
Type error with message, followed by type suggestion, chosen by fuzzy matching (out of 'choices' arg passed in init).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
unknown_type |
str
|
The type that was not found. |
required |
choices |
List
|
List of valid types |
required |
message |
str
|
Explanation of the error |
None
|
Source code in V3_1/src/super_gradients/common/exceptions/factory_exceptions.py
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|