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

Testing code error #11

Open
flyyyyer opened this issue Sep 4, 2024 · 0 comments
Open

Testing code error #11

flyyyyer opened this issue Sep 4, 2024 · 0 comments

Comments

@flyyyyer
Copy link

flyyyyer commented Sep 4, 2024

When I run
CUDA_VISIBLE_DEVICES=5 python examples/classification/main.py --cfg cfgs/modelnet/PCM.yaml mode=test
--pretrained_path checkpoint/modelnet40/pcm.pth
I got
TypeError: ModelNet: ModelNet.init() missing 1 required positional argument: 'num_classes'

When I run
CUDA_VISIBLE_DEVICES=6 bash script/main_segmentation.sh --cfg cfgs/s3dis/PCM.yaml wandb.use_wandb=False mode=test
--pretrained_path checkpoint/s3dis/pcm.pth
I got
usage: Scene segmentation training/testing [-h] --cfg CFG [--profile]
Scene segmentation training/testing: error: argument --cfg: expected one argument

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