Matlab trainNetwork compiled to python has issues. [Bug??] or did I do something wrong?

I was working on a DL project and compiled trainNetwork to python. It takes an imageDatastore as an argument but it doesn't recognize that it is an imageDatastore and wants a double as a 2nd input. Not sure why that would happen.
Here is the my code. Hope this can be resolved

1 Comment

Hi Shammakh,
In which version of Python did you face this issue?

Sign in to comment.

Answers (0)

Asked:

on 25 Jan 2021

Edited:

on 11 Jul 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!