automl / Auto-PyTorch

Automatic architecture search and hyperparameter optimization for PyTorch
Apache License 2.0
2.35k stars 284 forks source link

AutoPytorch selects only Dummy model. #494

Open shabir1 opened 1 year ago

shabir1 commented 1 year ago

I run AutoPytorch for 10 hours on a dataset with 1.5 Lac rows and 13 columns, but it was not able to find the model it selects the dummy model.

Code

model = TabularRegressionTask(
                    ensemble_size=5,
                    ensemble_nbest=5,
                    max_models_on_disc=5,
                )
model.search(
                optimize_metric='r2',
                X_train=X_train,
                y_train=y_train,
                total_walltime_limit=36000,
                memory_limit=5092,
                enable_traditional_pipeline=False
            )

Output

After 10 hours it gives me

Dummy Model

Local environment

SaleemAkhtarAngstrom commented 1 year ago

Also getting this, not sure why

ravinkohli commented 1 year ago

You'll get the dummy model in case no other configuration finished successfully. So, could you check the log file to see what is going wrong?

SaleemAkhtarAngstrom commented 1 year ago

Mine was a CUDA error, removed GPU access from the container I was developing in and it was fine. Also I wasn't allowing enough predict time for my dataset, changing the above two things fixed my issues

shabir1 commented 1 year ago

Is there any option to set GPU off in AutoPytorch?