Closed JeremyBYU closed 1 month ago
This is caused by the new rust version. This is fixed on Burn main. Not released yet.
When can it be updated, I also encountered this problem when running yolo-tiny, and it's normal once I use release
ResNet was recently updated in #40 to use the latest burn release, it should be fixed.
Just updated YOLOX in #41 to make sure this is addressed.
Let me know if you're still facing the same issue.
Hi all, I was testing out this project and noticed that when I run
cargo run --example inference --features tch-gpu ./samples/dog.jpg
it causes a crash with the error:unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap
. However, if I run with--release
everything works as expected. Not sure if this was as designed and if so was wondering the reasoning. ThanksWith Release: