Closed AIasd closed 4 years ago
can you try
self.teacher = MapModel.load_from_checkpoint(str(teacher_path))
Hi @bradyz Thanks for the help! This indeed solves the error. After fixing it, I encountered
File "/home/zhongzzy9/Documents/self-driving-car/2020_CARLA_challenge/carla_project/src/map_model.py", line 85, in __init__
self.to_heatmap = ToHeatmap(hparams.heatmap_radius)
AttributeError: 'dict' object has no attribute 'heatmap_radius'
I fixed that by manually converting hparams from dictionary to argparse.namespace in the map_model.py
and now the training runs successfully!
Hi, I finished training stage 1 successfully and tried to train stage 2 model.
I notice that the command in README is
python3 -m carla_project/src/image_model --dataset_dir /path/to/data
.One minor typo: I think it should be
python3 -m carla_project/src/image_model --dataset_dir /path/to/data --teacher_path /path/to/teacher/checkpoint
sinceteacher_path
is required field.After running this command with the path to the checkpoint of my stage1 model, however, I encountered the following error:
Did you encounter this error by any chance before?