Closed myounus96 closed 4 years ago
@myounus96 You should first configure the relevant parameters in parameters.py, and then run the main.py script. Of course, first you need to train the model...
Have done that..tester.py only producing accuracy metrics..not coloured masked predicted images..
@myounus96 Please refer to the detection.py script in the deployment folder.
it just keep giving 'load NONE from pretrained checkpoint' error.
@myounus96
You should load face detect box weight from (https://pan.baidu.com/s/14MzwqOBxY2tciC5V8MXW2w and password is a9ty)first.
@myounus96
You should load face detect box weight from (https://pan.baidu.com/s/14MzwqOBxY2tciC5V8MXW2w and password is a9ty)first.
Thank you will try this.
I got 'page doesn't exist'.
@myounus96 Please check your email.
@JACKYLUO1991 didn't receive any email yet, will confirm when received.
Got the email.
@ success or failure?
@ success or failure?
Getting this error FileNotFoundError: [Errno 2] No such file or directory: './segmentation/ParseNet_120_G.pth'
.
By placing trained model in segmentation folder, getting this size mismatch for classifier2.weight: copying a param with shape torch.Size([19, 512, 1, 1]) from checkpoint, the shape in current model is torch.Size([19, 384, 1, 1]).
.
@JACKYLUO1991
@myounus96 You need to train the segmentation network first. What you were given before is the weight of face detection.
@myounus96 You should first configure the relevant parameters in parameters.py, and then run the main.py script. Of course, first you need to train the model...
Have done that..tester.py only producing accuracy metrics..not coloured masked predicted images..
Already done that, have mentioned in my 2nd comment. ^
@myounus96 I think line 390 of the detection.py script is what you need.
@myounus96 You should first configure the relevant parameters in parameters.py, and then run the main.py script. Of course, first you need to train the model...