Scenarios, tutorials and demos for Autonomous Driving
MIT License
2.33k
stars
569
forks
source link
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? #121
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
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)
Experiment/Environment details