mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
add comment about gross code
This commit is contained in:
parent
b374052de2
commit
1ed748e7f3
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ class InferenceModel(ABC):
|
|||
inputs = self._get_static_dims(inferred.graph.input)
|
||||
outputs = self._get_static_dims(inferred.graph.output)
|
||||
|
||||
# check_model gets called in update_inputs_outputs_dims and doesn't work for large models
|
||||
check_model = onnx.checker.check_model
|
||||
try:
|
||||
onnx.checker.check_model = lambda _: None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue