Comments (12)
@ShiMinghao0208 Hi. Seems that you are using HRNet-W48 as backbone model, but trying to load pretrained weights of HRNet-W32.
from openseg.pytorch.
@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.
from openseg.pytorch.
They have different structure and thus the weights could not be shared.
from openseg.pytorch.
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.
from openseg.pytorch.
They have different structure and thus the weights could not be shared.
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
from openseg.pytorch.
They have different structure and thus the weights could not be shared.
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.
from openseg.pytorch.
They have different structure and thus the weights could not be shared.
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.
They have different structure and thus the weights could not be shared.
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?
from openseg.pytorch.
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.
from openseg.pytorch.
from openseg.pytorch.
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).
from openseg.pytorch.
Hi. You should add extra arguments --data_dir ${DATA_DIR}
to the command, i.e., change it into:
${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}
from openseg.pytorch.
Hi. You should add extra arguments
--data_dir ${DATA_DIR}
to the command, i.e., change it into:${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
from openseg.pytorch.
Related Issues (20)
- Address already in use: how to enable multiple training process on one machine?
- validation in inference process has a large difference with validation in train process HOT 1
- ERROR: Found no prediction for ground truth HOT 1
- Wrong! bash scripts/cityscapes/segfix/run_h_48_d_4_segfix.sh segfix_pred_val 1 HOT 1
- Mask loss is 0.0 and overall loss doesnt converge && what is relevance of dt_num_classes ? HOT 2
- TypeError: 'NoneType' object is not callable HOT 2
- Unexpected key(s) in state_dict: "config_dict", "state_dict". HOT 1
- FSSlowOhemCELoss is not defined in loss_helper
- why the refined result is white?
- can not reproduce eval result with segfix
- question about flops
- Result of refinement by SegFix on HRNet / HRNet-Semantic-Segmentation open source
- a pretrained SegFix model,
- preprocess scripts for LIP
- Checkpoints for SegFix models trained with Pytorch-1.7 have been released?
- Preprocess VOC dataset HOT 2
- need *.mat when I want to train segfix on my own dataset
- custom dataset
- label list
- About Train and Val HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openseg.pytorch.