H2OValueError: File ‪train_FD004.txt does not exist

hi guys so i'm currently trying to use h2o and encountering a problem for uploading the data

train = h2o.upload_file("‪train_FD004.txt")
test  = h2o.upload_file("test_FD004.txt")
train.set_names(input_file_column_names);
test.set_names(input_file_column_names);

how to fix this?

Upvotes: 1

Views: 164

Answers (1)

Jack Whelan
Jack Whelan

Reputation: 66

I don't know anything about H20, but generally that type of error,

H2OValueError: File ‪train_FD004.txt does not exist

Means it cannot find the file you are trying to upload.

You should try:

  1. Make sure you have typed the name of the file correctly, including spelling, white-space and extension.
  2. Make sure the file is in the correct directory, whether that is the same directory as your program or whatever directory you're attempting to reference.

Upvotes: 2

Related Questions