You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used my own dataset for testing purposes. The config file is hrnet_w32_ap10k_256x256. I have downloaded the pre-trained model and removed evaluation code since I don't have ground truth. I have to manually add these 2 keys to the result dict in top_down_transform.py and shared_transform.py to make the code work. Did I miss something?
The text was updated successfully, but these errors were encountered:
I find the reason. The Config module from mmcv cannot correctly load the dict(type='TopDownGetBboxCenterScale'), in the config file, so the 'scale' and 'center' will disappear. I have no idea how this happens as I look into the source code of mmcv and seems it misses that transform in the beginning.
But one simple way to fix it is to add: new_transform = {'type': 'TopDownGetBboxCenterScale'} if new_transform not in transforms: transforms.insert(1,new_transform)
in the 'shared_transform.py' right under the 'self.transform = []'
I used my own dataset for testing purposes. The config file is hrnet_w32_ap10k_256x256. I have downloaded the pre-trained model and removed evaluation code since I don't have ground truth. I have to manually add these 2 keys to the result dict in top_down_transform.py and shared_transform.py to make the code work. Did I miss something?
The text was updated successfully, but these errors were encountered: