isaacmg / model_agnostic_prediction

Peelout model agnostic is a class for easily performing production pipeline predictions.
8 stars 2 forks source link

PyTorch CPU Viability #6

Closed isaacmg closed 6 years ago

isaacmg commented 6 years ago

Currently when trying to run a PyTorch model weights saved in CUDA we get the following error. raise AssertionError("Torch not compiled with CUDA enabled")

Our code should be able to load the model regardless if it was trained on CPU or GPU.

isaacmg commented 6 years ago

This was fixed. Reference