0.8 beta 2: custom model crashes: IndexError: index 20 is out of bounds for axis 0 with size 20,
See original GitHub issueDescribe the bug Using a model I previously trained (and that worked in doods): File “sqwrlmodel2.tflite” from https://github.com/rb2k/sqwrlmodel
Dimensions are 320x320 according to https://github.com/rb2k/sqwrlmodel/blob/main/sqwrlmodel2_metadata.json
Dictionary is:
0 person
1 cat
2 bird
3 squirrel
4 dog
Version of frigate 0.8b2
Config file Include your full config file wrapped in triple back ticks.
model:
# Required: height of the trained model
height: 320
# Required: width of the trained model
width: 320
Logs
Process detector:coral:,
Traceback (most recent call last):,
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap,
self.run(),
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run,
self._target(*self._args, **self._kwargs),
File "/opt/frigate/frigate/edgetpu.py", line 149, in run_detector,
detections = object_detector.detect_raw(input_frame),
File "/opt/frigate/frigate/edgetpu.py", line 105, in detect_raw,
detections[i] = [label_codes[i], score, boxes[i][0], boxes[i][1], boxes[i][2], boxes[i][3]],
IndexError: index 20 is out of bounds for axis 0 with size 20,
Computer Hardware
- OS: OpenSuse
- Virtualization: Docker
- Coral Version: USB
- Network Setup: Wired
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Why am I getting IndexError: index 20 is out of bounds for axis ...
When I use move function it means they are doing their normal activity and is moving randomly around the building. They can move...
Read more >Medaka variant error: "IndexError: index 0 is out of bounds for ...
medaka variant crashes with exit status 20 when the command medaka variant ... IndexError: index 0 is out of bounds for axis 0...
Read more >0.8 beta 2: custom model crashes: IndexError: index 20 is out of ...
0.8 beta 2 : custom model crashes: IndexError: index 20 is out of bounds for axis 0 with size 20, ; Describe the...
Read more >Error in python (jupyter): index 1 is out of bounds for axis 0 ...
The error message is quite explanatory. Notice that x=np.linspace(0,100,1). is [0.] Probably you wanted to write: x=np.linspace(0,1,100) .
Read more >NumPy User Guide
NumPy arrays have a fixed size at creation, unlike Python lists (which can ... IndexError: index 3 is out of bounds for axis...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like your output shape is different.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.