(Solution) In colab, !cd failed to switch the folder path

wrong reason

Look at the picture below, you want to switch to the path /content/QueryDet-PyTorch/visdrone_eval, but the switch is not successful.
insert image description here
! pwdMeans: View the current path. (You can see that the path has not been switched successfully)

Solution

Change !cdto %cd, look at the picture below, you can see that the path has been switched successfully at this time
insert image description here

Guess you like

Origin blog.csdn.net/weixin_44902604/article/details/131413366