mirror of
https://github.com/immich-app/immich.git
synced 2025-11-29 08:30:03 +09:00
add comment about gross code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user