Open monk1337 opened 4 years ago
I had to set solver = 'lbfgs' in clf_sklearn = linear_model.LogisticRegression()
I checked with get_gpu_info_c it's not detecting gpu, So while setting solver = 'lbfgs' it's selecting backend='sklearn' but when I am setting backend='h2o4gpu', I am getting same error :
AttributeError: 'NoneType' object has no attribute 'make_ptr_float'
I am having the same issue but at line 380 in OP error message with the Lasso example on github giving:
Getting data Reading Data with Pandas (999, 9733) Original m=999 n=9732 Size of Train rows=800 & valid rows=199 Size of Train cols=9732 valid cols=9732 Size of Train cols=9733 & valid cols=9733 after adding intercept column Creating model Training model Traceback (most recent call last): File "gpu_elastic_net_h2o.py", line 55, in
model.fit(train_x, train_y) File "../h2o4gpu/solvers/elastic_net.py", line 302, in fit source_dev=source_dev) File "../h2o4gpu/solvers/utils.py", line 274, in prepare_and_upload_data valid_y_np, weight_np, source_dev) File "../h2o4gpu/solvers/utils.py", line 380, in upload_data c_upload_data = self.lib.make_ptr_float AttributeError: 'NoneType' object has no attribute 'make_ptr_float'
Hitting the same problem. Anyone had any luck with this?
I am working with h2o4gpu and trying to run the example provided on github.
But it's giving me this error :
I have installed h20 and h2o4gpu in separate python env with python 3.7 with cuda 10.1 How I can resolve this?