Closed CreatCodeBuild closed 7 years ago
you can review the utils/get_weights_path.py
and utils/transfer_FCN.py
If I understand it correctly,
TF_WEIGHTS_PATH = 'https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels.h5'
This is only the normal vgg16 weights on ImageNet? Therefore, there is no transpose convolution layer's weights?
I guess you should read the codes first. The model used Linear Upsample instead of the Deconvolution.
@CreatCodeBuild the new README.md explains what to do, try that and if the issue is closed you can reopen if there are still problems @aurora95 you can close this issue (or maybe consider adding me as a collaborator so I can close it?)
Changed this line to if layer.name in index:
@mrgloom can you make a pull request with that?
Is the .h5 weights file downloaded from somewhere else? Or did you train your weights?
For example in
model.py
Based on the file path
.keras/
, it looks like a weights file come from Keras. But I am not aware of that keras provides fcn weights.