Skip to content

Instantly share code, notes, and snippets.

@kamal2230

kamal2230/mc1.py Secret

Last active October 11, 2020 06:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamal2230/86ff601c8df119add5e608fd18c8749d to your computer and use it in GitHub Desktop.
Save kamal2230/86ff601c8df119add5e608fd18c8749d to your computer and use it in GitHub Desktop.
base_dir = os.path.join("/kaggle/input/rock-paper-scissors-dataset/Rock-Paper-Scissors/")
# Train set
train_dir = os.path.join(base_dir + "train")
print("Train set --> ", os.listdir(train_dir))
# Test set
test_dir = os.path.join(base_dir + "test")
print("Test set --> ", os.listdir(test_dir))
# Validation set
validation_dir = os.path.join(base_dir + "validation")
print("Validation set --> ", os.listdir(validation_dir)[:3])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment