Duplicate question
Closed this issue · 0 comments
ideasplus commented
Hi, there
When I try to run your codes on the Semantic-KITTI dataset, I met an error as follows
Reusing positional embeddings.
Traceback (most recent call last):
File "main.py", line 334, in <module>
exp = Experiment(settings)
File "main.py", line 80, in __init__
self.model = self._initModel()
File "main.py", line 91, in _initModel
model = build_rangevit_model(
File "main.py", line 32, in build_rangevit_model
model = models.RangeViT(
File "/data/rangevit/models/rangevit.py", line 347, in __init__
resized_pos_emb = resize_pos_embed(pretrained_state_dict['encoder.pos_embed'],
KeyError: 'encoder.pos_embed'
Could you tell me how to solve this problem?