Skip to content

Brain-style transfer unpickling error #9

@cyanolycapulchra

Description

@cyanolycapulchra

Hello,

I have run into an error going through the tutorial and using the tutorial dataset with the brain-style transfer step. The bytestream returned back to the script to unpickle is too short. See the following error:
initialize network with normal

initialize network with normal
Traceback (most recent call last):
File "model\style_transfer_segment\style_transfer_model_train.py", line 55, in run
File "model\style_transfer_segment\models\cycle_gan_model.py", line 83, in init
File "model\style_transfer_segment\models\ce_net\cenet.py", line 201, in init
File "torchvision\models\resnet.py", line 187, in resnet34
File "torch\hub.py", line 590, in load_state_dict_from_url
return torch.load(cached_file, map_location=map_location)
File "torch\serialization.py", line 608, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "torch\serialization.py", line 777, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: unpickling stack underflow

[process exited with code 3221226505 (0xc0000409)]

If you have any insights on how to address this error, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions