`Traceback (most recent call last):


 "<console>", line 1, in <module>


 "/usr/lib/python3.8/contextlib.py", line 113, in __enter__

return next(self.gen)


 "/home/work/.local/share/virtualenvs/layer5_shopify_app-Ng61jmnB/lib/python3.8/site-packages/shopify/session.py", line 36, in temp

original_version = shopify.ShopifyResource.get_version() or version


 "/home/work/.local/share/virtualenvs/layer5_shopify_app-Ng61jmnB/lib/python3.8/site-packages/shopify/base.py", line 151, in get_version

return ShopifyResource._site.split('/')[-1]
AttributeError: 'NoneType' object has no attribute 'split'`

```Traceback (most recent call last):


 "/home/eelco/PycharmProjects/pt_mnist/train_ps.py", line 51, in <module>

train(20)


 "/home/eelco/PycharmProjects/pt_mnist/train_ps.py", line 48, in train

nb_epoch=n_epochs)


 "/home/eelco/anaconda3/lib/python3.6/site-packages/torchsample/modules/module_trainer.py", line 444, in fit_loader

callbacks.on_train_begin()


 "/home/eelco/anaconda3/lib/python3.6/site-packages/torchsample/callbacks.py", line 67, in on_train_begin

callback.on_train_begin(logs)


 "/home/eelco/anaconda3/lib/python3.6/site-packages/torchsample/callbacks.py", line 170, in on_train_begin

if self.model._has_regularizers:


 "/home/eelco/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 238, in __getattr__

type(self).__name__, name))
AttributeError: 'CNN' object has no attribute '_has_regularizers'
