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

test error #56

Open
Youggie opened this issue Jan 7, 2020 · 0 comments
Open

test error #56

Youggie opened this issue Jan 7, 2020 · 0 comments

Comments

@Youggie
Copy link

Youggie commented Jan 7, 2020

File "/d/code/PANet-master/tools/test_net.py", line 123, in
check_expected_results=True)
File "/d/code/PANet-master/lib/core/test_engine.py", line 128, in run_inference
all_results = result_getter()
File "/d/code/PANet-master/lib/core/test_engine.py", line 108, in result_getter
multi_gpu=multi_gpu_testing
File "/d/code/PANet-master/lib/core/test_engine.py", line 158, in test_net_on_dataset
args, dataset_name, proposal_file, output_dir, gpu_id=gpu_id
File "/d/code/PANet-master/lib/core/test_engine.py", line 232, in test_net
model = initialize_model_from_cfg(args, gpu_id=gpu_id)
File "/d/code/PANet-master/lib/core/test_engine.py", line 332, in initialize_model_from_cfg
net_utils.load_ckpt(model, checkpoint['model'])
File "/d/code/PANet-master/lib/utils/net.py", line 160, in load_ckpt
for name in ckpt:
TypeError: 'method' object is not iterable
Is there anynoe can solve this problem ?

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

1 participant