Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How download pretrain model thanks #70

Open
deeks0918 opened this issue Jul 10, 2022 · 3 comments
Open

How download pretrain model thanks #70

deeks0918 opened this issue Jul 10, 2022 · 3 comments

Comments

@deeks0918
Copy link

Is there any similar pretrain mode ex : YOLOv4.conv.137 thanks

@akashAD98
Copy link
Contributor

@deeks0918 check here AlexeyAB/darknet#8595 (comment)
you will get darknet cfg,weights.

@chethanningappa
Copy link

Model Summary: 263 layers, 6139464 parameters, 6139464 gradients, 13.6 GFLOPS

Scaled weight_decay = 0.0005
Optimizer groups: 58 .bias, 58 conv.weight, 61 other
Traceback (most recent call last):
File "train.py", line 609, in
train(hyp, opt, device, tb_writer)
File "train.py", line 248, in train
image_weights=opt.image_weights, quad=opt.quad, prefix=colorstr('train: '))
File "/content/drive/MyDrive/yolov7/yolov7/utils/datasets.py", line 78, in create_dataloader
prefix=prefix)
File "/content/drive/MyDrive/yolov7/yolov7/utils/datasets.py", line 392, in init
cache, exists = torch.load(cache_path), True # load
File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 608, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 777, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: STACK_GLOBAL requires str

how to resolve this error

@akashAD98
Copy link
Contributor

@chethanningappa can you provide more details? What's the working environment? training command & data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants