AutonomousDrivingCookbook icon indicating copy to clipboard operation
AutonomousDrivingCookbook copied to clipboard

Mr. Spryn! How can I change the Generator.py and Cooking.py to store the images in the batches in the same order as they are in the folders and then entered into the model for train?

Open M-M98 opened this issue 5 years ago • 0 comments

Problem description

I am trying to use images in batches of frames and use Conv3D in my model; so I need to enter the images in the same order in the folders. I could fix other necessary changes and it is the only remaining problem. I also consider changing the order of folders so that the model also learns the swerve Images. Of course, I know it would not be a good way of data preprocessing but please give me your ideas on this matter. Thanks

Problem details

I tried some changes but none of them works; in one of them I made generateDataMapAirSim in Cooking.py not to shuffle the mappings :

mappings = [(key, all_mappings[key]) for key in all_mappings] # random.shuffle(mappings) return mappings

Experiment/Environment details

  • Tutorial used: AirSimE2EDeepLearning
  • Environment used: landscape
  • Versions of artifacts used (if applicable): Win 10, Python 3.8, Keras 2.4.3

M-M98 avatar Nov 27 '20 19:11 M-M98