Kaggle's Whale Competition

Thanks @jamesrees for sharing your notebook, your data import worked for me and helped me avoid the below error when I tried lean.fit

RuntimeError: cuda runtime error (59) : device-side assert triggered

By creating a reference dictionary and replacing the given whale ids with integers I no longer encountered the assert error. So I guess as mentioned above there is an issue with dealing with the original labels given.

If I load the original label file [train.csv] straight into a pandas dataframe I get the below column types:

Image:    object
Id:       oject

Creating a reference dictionary and replacing the original whale Ids with integer labels allows my learn.fit to run without errors

Image:    object
Id:       int64

If anyone is getting the above error, try replacing the whale Id labels with Integer lables as per @jamesrees notebook here:

deep_learning/experiments/whales_baseline.ipynb at master · jamesr2323/deep_learning · GitHub

1 Like