Commit History
-
major(feat): add support for Gradio API model and enhance ONNX model handling
- Introduced new model (model_8) using Gradio API for inference. - Added preprocessing and postprocessing functions for Gradio API integration. - Enhanced ONNX model handling with improved logging and error management. - Updated softmax function to return Python floats for better compatibility. - Added new model configuration files for model_8 and updated existing configurations.22628b7
-
🏗️ build(utils): update image preprocess and functionality expansion
- move ELA functionality to separate utils for better modulation and maintenance【config】 🏗️ build(utils): update image preprocess and functionality expansion - update ELA for better performance【Install libraries Pytorch, PIL and opencv】 🔧 chore(doc): update py files - remove ON.NX dependencies【Remove onnx pytorch dependencies】 🔧 chore(doc): update py files - update ignore files setting to educate CI autoignore build filesd307493
-
✨ feat(predict): add Error Level Analysis to image prediction
【Predict Image Function】 - integrate an extra transform using ELA (Error Level Analysis) 【User Interface】 - display ELA transformed image 【Settings】 - updated the visibility of settings sliderc08bf6c -
✨ feat(ui): add sharpen and noise augmentation
- add new sharpen sliders for image processing - add new noise sliders for image processing 🐛 fix(utils): correct augmentation method assignment - correctly set default augmentations methods - allow Dynamic settings for sharpen 📝 docs(ui): update Image UI with new Augmnents - add new augment methods UI - current weights of image slider - display of image prediction timestamp33581d9 -
🐛 fix(app): add input degrees having a bug for cases without augmentation
- modify `predict_image_with_html` function to accept `augment_method` and `rotate_degrees` - add filter to conditionally show rotate slider - modify `augment_image` function to accept `methods` and `rotate_degrees` parameters and apply the chosen augmentation methods accordingly ✨ feat(app): expand augmentation methods - add new checkbox group to let user select from multiple augmentation methods such as rotate 📝 docs: update imports comment and reorganize - type hint comments for function return values - add new filters to `PIL` Libraries for image manipulation5ccc3f6 -
♻️ refactor(app): code cleanup
- removed unused import: warnings - added logging configuration -【docs】modified logging level -【refactor】renamed old logging config to current logging module - optimized importance of models by introducing model hook configuration modes -【docs】map classes of various models -【feat】move and refactor models into reusable function - modified logic containment - reorganized and refactored prediction logic - moved all augmentation related function to util - clarified all parameters to be consistent -【refactor】modified function name consistent ▪️️ feat(app): new model prediction logic with gpu decorator -【refactor】added model index to output [[model id, model name, class a confidence, class b confidence, label] recommended output] ---· + refactor(file management): code cleanup - remove previous unused paths - moved function into utils67f3560