Open antimora opened 11 months ago
The issue is Candle does not support excluding pad count in pooling
The average pool config that is being used in the squeezenet is using .with_count_include_pad(false)
which is not supported in Candle.
The average pool config that is being used in the squeezenet is using
.with_count_include_pad(false)
which is not supported in Candle.
We can fix this by:
The average pool config that is being used in the squeezenet is using
.with_count_include_pad(false)
which is not supported in Candle.We can fix this by:
- Modify Candle backend with Zero padding the input before average pool (this is what PyTorch did).
- File a ticket with Candle team to enhance the avr pool.
@louisfd do you think it's possible?
Describe the bug Candle backend crashes web app in image-classification-web.
To Reproduce
examples/image-classification-web
./build-for-web.sh
./run-server.sh
Expected behavior The image is classified without a crash.
Screenshots