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

Errors occur when running protonet.py #30

Open
xin1106 opened this issue Sep 5, 2024 · 0 comments
Open

Errors occur when running protonet.py #30

xin1106 opened this issue Sep 5, 2024 · 0 comments

Comments

@xin1106
Copy link

xin1106 commented Sep 5, 2024

args=(--phase 'prototrain' --dataset "${DATASET}" --cvfold $SPLIT
--data_path "$DATA_PATH" --save_path "$SAVE_PATH"
--pretrain_checkpoint_path "$PRETRAIN_CHECKPOINT" --use_attention
--n_subprototypes $N_SUBPROTOTYPES --k_connect $K_CONNECT
--dist_method "$SIM_FUNCTION" --sigma $SIGMA
--pc_npts $NUM_POINTS --pc_attribs "$PC_ATTRIBS" --pc_augm
--edgeconv_widths "$EDGECONV_WIDTHS" --dgcnn_k $K
--dgcnn_mlp_widths "$MLP_WIDTHS" --base_widths "$BASE_WIDTHS"
--n_iters $NUM_ITERS --eval_interval $EVAL_INTERVAL --batch_size 1
--lr $LR --step_size $DECAY_STEP --gamma $DECAY_RATIO
--n_way $N_WAY --k_shot $K_SHOT --n_queries $N_QUESIES --n_episode_test $N_TEST_EPISODES)
When running the above train_attMPTI. sh
RuntimeError: Expected target size [2, 192], got [2, 2048]

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