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
about json file, the input size and crop size should based on what #43
Comments
@ShiMinghao0208 Hi. Seems that you are using HRNet-W48 as backbone model, but trying to load pretrained weights of HRNet-W32. |
Oh,I think one model can use several different pre-training models. I change the HRNet-W48 pretrained model, it does work. Very thank u. |
They have different structure and thus the weights could not be shared. |
ok,thanks. I will try other model,too. I am very sorry to bother u. |
I want to try to use script val 1 after my training process,but I get a error about file dir error. The training process is normal,and I check my DATA_ROOT, I dont know why I get this error |
Could you share the training log? So that we could help figure out the problem. |
OK, thank u very much. I upload the screenshot about my log and question in the issue.Does that help solve the problem? |
Could you provide the script file (the .sh file) you are using? You may upload the file by attaching it to a comment. I guess there should be some mistakes in the validation command. |
OK, I upload the zip of my file(sh, json and so on). |
Hi. You should add extra arguments ${PYTHON} -u main.py --configs ${CONFIGS} --drop_last y \
--backbone ${BACKBONE} --model_name ${MODEL_NAME} --checkpoints_name ${CHECKPOINTS_NAME} \
--phase test --gpu 0 1 2 --resume ./checkpoints/BDCI/${CHECKPOINTS_NAME}_latest.pth \
--loss_type ${LOSS_TYPE} --test_dir ${DATA_DIR}/val/image \
--out_dir ${SAVE_DIR}${CHECKPOINTS_NAME}_val \
--data_dir ${DATA_DIR} |
OK,thanks very much. I will try it |
my dataset image size is 256*256,and i dont know how to modifiy the json file
here is my json file, and when i try to train my dataset, there is such sizemisbatch error...like:
and so on,
environment should be satisfied:
this is my val error:
and the config.profile:
this is my log file screenshot:
The text was updated successfully, but these errors were encountered: