QCNet: test error

Hi, your work is great. I try to generate the prediction results on the test set by following your code:

python test.py --model QCNet --root /path/to/dataset_root/ --ckpt_path /path/to/your_checkpoint.ckpt

But there is some error like this:

Global seed set to 2023
Processing...
  0%|          | 0/24984 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "test.py", line 40, in <module>
    test_dataset = {
  File "/content/QCNet/datasets/argoverse_v2_dataset.py", line 150, in __init__
    super(ArgoverseV2Dataset, self).__init__(root=root, transform=transform, pre_transform=None, pre_filter=None)
  File "/usr/local/envs/QCNet/lib/python3.8/site-packages/torch_geometric/data/dataset.py", line 97, in __init__
    self._process()
  File "/content/QCNet/datasets/argoverse_v2_dataset.py", line 534, in _process
    self.process()
  File "/content/QCNet/datasets/argoverse_v2_dataset.py", line 190, in process
    map_data = read_json_file(map_path)
TypeError: object() takes no arguments

Wondering what’s the reason and how to deal with it. Thank you very much.

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 19 (7 by maintainers)

Most upvoted comments

@ZikangZhou Thank you very much. I have run successfully and the result on the leaderboard is: image A little bit worse than your submission.