runtime error
Exit code: 1. Reason: he following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 134, in _resolve_target target = _locate(target) File "/usr/local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 653, in _locate raise ImportError( ImportError: Error loading 'models.networks.network.ContrastiveHybridUnFrozenBackbone': ModuleNotFoundError("No module named 'utils.model_utils'; 'utils' is not a package") Are you sure that 'network' is importable from module 'models.networks'? The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 40, in <module> geoloc_model = Geolocalizer.from_pretrained(GEOLOC_MODEL_NAME) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hub_mixin.py", line 566, in from_pretrained instance = cls._from_pretrained( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hub_mixin.py", line 789, in _from_pretrained model = cls(**model_kwargs) File "/home/user/app/models/huggingface.py", line 12, in __init__ self.model = instantiate(self.config.model) File "/usr/local/lib/python3.10/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 226, in instantiate return instantiate_node( File "/usr/local/lib/python3.10/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 333, in instantiate_node _target_ = _resolve_target(node.get(_Keys.TARGET), full_key) File "/usr/local/lib/python3.10/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 139, in _resolve_target raise InstantiationException(msg) from e hydra.errors.InstantiationException: Error locating target 'models.networks.network.ContrastiveHybridUnFrozenBackbone', set env var HYDRA_FULL_ERROR=1 to see chained exception. full_key: model
Container logs:
Fetching error logs...