two-stream-action-recognition
two-stream-action-recognition copied to clipboard
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
i try to reload the spatial model but it's not useful,,,..... the report errors as follows:
torch.Size([3, 224, 224])
==> Validation data :71877frames
torch.Size([3, 224, 224])
==> Build model and setup loss and optimizer
==> loading checkpoint 'record/spatial/spatial_video_preds.pickle'
Traceback (most recent call last):
File "/home/xm/python/action/two-stream-action-recognition-master/spatial_cnn.py", line 268, in
add code "#coding:utf-8" at the top of spatial_cnn.py file
pickle_module.load(f) -> pickle.load(f,encoding='bytes')