Closed ferisetiawan closed 4 years ago
Problem solved.
I did some changes on the map_location
parameter during the load_checkpoint
.
@ferisetiawan what changes you made in map_location?
Problem solved. I did some changes on the
map_location
parameter during theload_checkpoint
.
Please show the changes that you made to the map location. Help would be much appreciated 👍
Problem solved. I did some changes on the
map_location
parameter during theload_checkpoint
. Maybe this puzzle will be resolved by this blog. https://www.cnblogs.com/xiaodai0/p/10413711.html
Replacing 'gpu' by 'cuda:0' in load_checkpoint did the trick: load_checkpoint(model, cfg.load_from, map_location='cuda:0')
When I run the testing code
mmskl configs/recognition/st_gcn_aaai18/kinetics-skeleton/test.yaml --checkpoint ./work_dir/recognition/ST_GCN_18/kinetics-skeleton/epoch_50.pth --gpus 2
I found this error
Do you have any suggestions? The code is running on my pc with 2 GPUs (RTX2080ti)
Thankyou!