Giter Club home page Giter Club logo

Comments (2)

wys2929 avatar wys2929 commented on July 21, 2024

在训练时报的错,具体报错如下
Traceback (most recent call last):
File "main.py", line 307, in
main()
File "main.py", line 41, in main
consensus_type=args.consensus_type, dropout=args.dropout, partial_bn=not args.no_partialbn)
File "/home/usr/project1/tsn-pytorch/models.py", line 39, in init
self._prepare_base_model(base_model)
File "/home/usr/project1/tsn-pytorch/models.py", line 82, in _prepare_base_model
self.base_model = getattr(torchvision.models, base_model)(True)
File "/home/usr/anaconda3/envs/TEST1/lib/python3.7/site-packages/torchvision/models/resnet.py", line 277, in resnet101
**kwargs)
File "/home/usr/anaconda3/envs/TEST1/lib/python3.7/site-packages/torchvision/models/resnet.py", line 227, in _resnet
progress=progress)
File "/home/usr/anaconda3/envs/TEST1/lib/python3.7/site-packages/torch/hub.py", line 495, in load_state_dict_from_url
return torch.load(cached_file, map_location=map_location)
File "/home/usr/anaconda3/envs/TEST1/lib/python3.7/site-packages/torch/serialization.py", line 585, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/usr/anaconda3/envs/TEST1/lib/python3.7/site-packages/torch/serialization.py", line 755, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '<'.

from tsn-pytorch.

ck321123 avatar ck321123 commented on July 21, 2024

你好,请问你解决了嘛,我现在也有这个问题,完全不知道怎么解决,您可以帮助我嘛?

from tsn-pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.