DSGT-DLP / Deep-Learning-Playground

Web Application where people new to Deep Learning can input a dataset and toy around with basic Pytorch modules without writing any code
MIT License
26 stars 8 forks source link

Feature 1057 - Add test and train transforms for image API in the backend #1146

Open Keon-San opened 8 months ago

Keon-San commented 8 months ago

Adds Test & Train transforms for image API in the backend

Github Issue Number Here: #1057 This allows users to have custom transforms for image training

Testing Methodology Used postman to send transforms and verify their outcomes, in order ot

Any other considerations There's stuff to be verified and decided on - I'm not sure if the way that the endpoint handles transforms with multiple arguments is correct, and I'm not sure how to exactly verify the transforms.

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Issues
6 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

codingwithsurya commented 8 months ago

For the question regarding crop transform affecting layer sizes, I'm not completely sure but i think you can use pooling layers like AdaptiveAvgPool2d or global pooling layers as they could be helpful since they can handle variable input sizes. Definitely worth exploring those options in the frontend/ model architecture phase.