runtime error
p available: 22.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip ERROR: Could not find a version that satisfies the requirement detectron2 (from versions: none) ERROR: No matching distribution found for detectron2 [notice] A new release of pip available: 22.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. Downloading (…)rocessor_config.json: 0%| | 0.00/135 [00:00<?, ?B/s] Downloading (…)rocessor_config.json: 100%|██████████| 135/135 [00:00<00:00, 677kB/s] Downloading vocab.txt: 0%| | 0.00/232k [00:00<?, ?B/s] Downloading vocab.txt: 100%|██████████| 232k/232k [00:00<00:00, 53.2MB/s] Downloading config.json: 0%| | 0.00/707 [00:00<?, ?B/s] Downloading config.json: 100%|██████████| 707/707 [00:00<00:00, 5.08MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> model = LayoutLMv2ForTokenClassification.from_pretrained("Theivaprakasham/layoutlmv2-finetuned-sroie_mod") File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1224, in __getattribute__ requires_backends(cls, cls._backends) File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1212, in requires_backends raise ImportError("".join(failed)) ImportError: LayoutLMv2ForTokenClassification requires the PyTorch library but it was not found in your environment. Checkout the instructions on the installation page: https://pytorch.org/get-started/locally/ and follow the ones that match your environment. Please note that you may need to restart your runtime after installation.
Container logs:
Fetching error logs...