Skip to content

Training Error #6

Description

@ashuezy
Namespace(batch_size=4, cfg='cfg/yolov3.cfg', data_config_path='cfg/ICDAR2015.data', epochs=100, img_size=640000, resume=False)
Traceback (most recent call last):
  File "train.py", line 172, in <module>
    main(opt)
  File "train.py", line 38, in main
    model = Darknet(opt.cfg, opt.img_size)
  File "/opt/github/YOLOv3-quadrangle/models.py", line 213, in __init__
    self.hyperparams, self.module_list = create_modules(self.module_defs)
  File "/opt/github/YOLOv3-quadrangle/models.py", line 56, in create_modules
    yolo_layer = YOLOLayer(anchors, num_classes, img_height, anchor_idxs)
  File "/opt/github/YOLOv3-quadrangle/models.py", line 92, in __init__
    self.grid_x = torch.arange(nG).repeat(nG, 1).view([1, 1, nG, nG]).float()
RuntimeError: [enforce fail at CPUAllocator.cpp:56] posix_memalign(&data, gAlignment, nbytes) == 0. 12 vs 0

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