Categories
Misc

Can neural networks only analyze square and/or conventionally sized images?

Can neural networks only analyze square and/or conventionally sized images?

I’m currently working with images that are 4032×3024 in size but after my computer freezing from 2 epochs and some advice from my colleagues, I have reduced this size considerably. My initial plan was to resize the images to 10% of their original (i.e. 403×302 when converted to integers) but when I tried to train my neural network with these new images, I received an error saying that my image size was incompatible. Is there a way to fix this or do I need to resize my images to a standardized size?

My code:

Code

Note: I am extremely new to tensorflow so if this code can be improved in any way please let me know

Context: I’m working with images of candled eggs (I have a very small sample size as this is brand new research) and have learned everything I know so far from youtube. I’m unaware of the importance of the learning rate value, how the metrics are tracked, or what an activation function is.

submitted by /u/Kapooshi
[visit reddit] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *