Open 3oo0q-kvmlskz opened 1 month ago
You need to retrain the model to resize the input map since the input size to the SOGMP models is fixed.
Hello, I'm running sh run_train.sh ~/data/OGM-datasets/OGM-Turtlebot2/train ~/data/OGM-datasets/OGM-Turtlebot2/val Trying to retrain, modified MAP_X_LIMIT = [0, 6.4] # Map limits on the x-axis MAP_Y_LIMIT = [-3.2, 3.2] # Map limits on the y-axis But an error was reported when running ValueError: Using a target size (torch.Size([4, 1, 128, 128])) that is different to the input size (torch.Size([16, 1, 64, 64])) is deprecated. Please ensure they have the same size. Why is that? Is there anything else that needs to be changed?
What size is your map? You need to also modify the NUM_LATENT_DIM and IMG_SIZE.
Hello, can the map size in the program you provided be modified? How should I modify it? I tried to change it MAP_X_LIMIT = [0, 6.4] # Map limits on the x-axis MAP_Y_LIMIT = [-3.2, 3.2] # Map limits on the y-axis The operation will report an error.