I have issue with the below code and my jupyter notebook keep getting crash. Any help is really appreciate.
using Pkg
Pkg.add("Flux")
Pkg.add("ImageMagick")
Pkg.add("CSV")
Pkg.add("DataFrames")
Pkg.add("CSVFiles")
using Flux, Flux.Data.MNIST
using Flux: onehotbatch, argmax, crossentropy, throttle
using Base.Iterators: repeated
using Images
using CSV
using DataFrames
using CSVFiles
data_train = load("train.csv") |> DataFrame
train.csv is MNIST training data from Kaggle which is of size (60000,765).
with that train.csv file from Kaggle works on julia 1.0.1. I didn’t try it from a notebook but I can’t imagine that’s the issue. It’s hard to say what the problem might be without more information. Could you post a bit more information on the crash? Are you seeing a Julia error message, in which case, could you post the backtrace? Or is your notebook just dying on you without a useful error message?
Also, for me CSV.read(“train.csv”) takes just a couple of seconds. The fact that it’s taking more than 30 minutes for you would seem to be either an indication that something’s wrong with your julia or CSV.jl installation or that you weren’t doing what you thought you were doing.