Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camerad: use os binning #33161

Merged
merged 12 commits into from
Aug 1, 2024
Merged

camerad: use os binning #33161

merged 12 commits into from
Aug 1, 2024

Conversation

ZwX1616
Copy link
Contributor

@ZwX1616 ZwX1616 commented Aug 1, 2024

No description provided.

@ZwX1616 ZwX1616 merged commit 3ccc63d into master Aug 1, 2024
19 checks passed
@ZwX1616 ZwX1616 deleted the o2x2 branch August 1, 2024 02:10
Edison-CBS pushed a commit to Edison-CBS/openpilot that referenced this pull request Sep 15, 2024
* all

* right sz

* what is this

* Revert "what is this"

This reverts commit 3ff7719.

* ok

* big

* update intrs

* fl

* more specifuc

* fish

* revert

* revert

---------

Co-authored-by: Comma Device <[email protected]>
old-commit-hash: 3ccc63d
@dzid26
Copy link
Contributor

dzid26 commented Oct 8, 2024

fyi, dmonitoringmodeld is erroring out with OS dcam:

setting up CL context                                                                            
IOCTL_KGSL_DRAWCTXT_CREATE: creating context with flags 0x4006ad2                                
CL context ready; loading model                                                                  
IOCTL_KGSL_DRAWCTXT_CREATE: creating context with flags 0x4006ad2                                
Thneed::clinit done                                                                              
Starting listener for: camerad                                                                   
system/loggerd/encoderd.cc: encoder road_cam_encoder init 1344x760                               
system/loggerd/encoderd.cc: encoder driver_cam_encoder init 1344x760                             
system/loggerd/encoderd.cc: encoder wide_road_cam_encoder init 1344x760                          
connected with buffer size: 4083200                                                              
Traceback (most recent call last):                                                               
  File "/data/openpilot/selfdrive/modeld/dmonitoringmodeld.py", line 163, in <module>            
    main()                                                                                       
  File "/data/openpilot/selfdrive/modeld/dmonitoringmodeld.py", line 154, in main 
    model_output, gpu_execution_time = model.run(buf, calib)                                     
                                       ^^^^^^^^^^^^^^^^^^^^^                                     
  File "/data/openpilot/selfdrive/modeld/dmonitoringmodeld.py", line 82, in run                  
    input_data[:] = buf_data[v_offset:v_offset+MODEL_HEIGHT, h_offset:h_offset+MODEL_WIDTH]      
    ~~~~~~~~~~^^^                                                                                
ValueError: could not broadcast input array from shape (0,32) into shape (960,1440)              
models loaded, modeld starting                                                                   
vision stream set up, main_wide_camera: False, use_extra_client: True                            
connected main cam with buffer size: 4083200 (1344 x 760)                      

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants