ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

Fix bug with stacking sensor(#5790)

Open x-mug opened this issue 3 years ago • 1 comments

grid sensor and all PNG compression used will face this bug when channel number is larger than 3 && used stacking observation (stack > 1)

Proposed change(s)

Describe the changes made in this PR.

The prepared empty PNG will be multiplied based on the channel number used

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

https://github.com/Unity-Technologies/ml-agents/issues/5790

Types of change(s)

  • [x] Bug fix
  • [ ] New feature
  • [ ] Code refactor
  • [ ] Breaking change
  • [ ] Documentation update
  • [ ] Other (please describe)

Checklist

  • [x] Added tests that prove my fix is effective or that my feature works
  • [ ] Updated the changelog (if applicable)
  • [ ] Updated the documentation (if applicable)
  • [ ] Updated the migration guide (if applicable)

Other comments

x-mug avatar Oct 19 '22 08:10 x-mug

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 19 '22 08:10 CLAassistant