[Kaggle] ["nameError: name 'mkdir' is not defined" when Output creates a folder]

Problem Description

  1. If you want to manually set the Output folder, it is convenient to save the results and save the classification.
  2. Enter the command in Figure 2 in a cell, and an error occurs.
    insert image description here
    insert image description here

Solution

There can be no redundant things in the cell, one command corresponds to one cell, even if the redundant ones are commented out, an error will be reported
√: mkdir /kaggle/working/test_01
×: mkdir /kaggle/working/test_01 #make a new folder

Reference

How does kaggle create a new folder/Bilibili@RGB_RS in the output directory according to your needs

Guess you like

Origin blog.csdn.net/weixin_52034760/article/details/130756575