If you have the test.py file in the corresponding folder in drive as in the below attached image, then the command which you use to run the test.py file is as mentioned below,
(如果您在驱动器的相应文件夹中有test.py文件(如下面的图片所示),则用于运行test.py文件的命令如下所述,)
!python gdrive/My Drive/Colab Notebooks/object_detection_demo-master/test.py
Additional Info: (附加信息:)
If you jusst want to run !python test.py
then you should change directory, by the following command before it,
(如果您要运行!python test.py
,则应通过以下命令更改目录,)
%cd gdrive/My Drive/Colab Notebooks/object_detection_demo-master/
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…