Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 8, 2020 05:56
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 amankharwal/babed14adf81f544c2a5c1eedf9d5d3a to your computer and use it in GitHub Desktop.
Save amankharwal/babed14adf81f544c2a5c1eedf9d5d3a to your computer and use it in GitHub Desktop.
samples = 20000
df = pd.read_csv("train.csv")
df = df.loc[:samples,:]
num_classes = len(df["landmark_id"].unique())
num_data = len(df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment