Jennifer_Davis:

train_features, label = next(iter(trn_dl))


for the first error it errors on the first line of code.
For the second set of errors, it seems to error out on a torch internal code, i.e.:

ValueError                                Traceback (most recent call last)
/opt/conda/lib/python3.8/site-packages/IPython/core/formatters.py in __call__(self, obj)
    339                 pass
    340             else:
--> 341                 return printer(obj)
    342             # Finally look for special method names
    343             method = get_real_method(obj, self.print_method)

thanks for helping me trouble-shoot