Skip to content

TypeError: 'module' object is not callable #118

@a2jinhee

Description

@a2jinhee

Hello! I am trying to evaluate Openlane validation datasets, and have successfully went through loading the datatsets and finished all installation process including setup.py. Also, checkpoint file is loaded without fail.

However, whenever the checkpoint file starts to load, 'module' object is not callable is triggered in:

Convert model with Sync BatchNorm
=> loading checkpoint '/home/heven/model_ws/src/PersFormer_3DLane-main/data_splits/openlane/PersFormer/model_best1.pth.tar'
0it [00:01, ?it/s]
Traceback (most recent call last):
  File "main_persformer.py", line 44, in <module>
    main()
  File "main_persformer.py", line 40, in main
    runner.eval()
  File "/home/heven/model_ws/src/PersFormer_3DLane-main/experiments/runner.py", line 667, in eval
    loss_list, eval_stats = self.validate(model, None, vis=True)
  File "/home/heven/model_ws/src/PersFormer_3DLane-main/experiments/runner.py", line 457, in validate
    output_net = nms_bev(output_net, args)
  File "/home/heven/model_ws/src/PersFormer_3DLane-main/utils/utils.py", line 1042, in nms_bev
    keep, num_to_keep, _ = nms(output_net_nms, scores, overlap=args.nms_thres_3d, top_k=args.max_lanes)

I attach my terminal and file hierarchy.

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions