Closed Fansiee closed 7 years ago
U need run util/get_weights_path.py
and transfer_FCN.py
first
Thank you very much! I just find it right now! Maybe there should be a simple tutorial for beginners~
@SCP-173-cool hi, I ran the transfer_FCN but it returned an error:
File "C:/Users/simonsayshi/Desktop/python scripts/Keras-FCN-master/Keras-FCN-master/utils/transfer_FCN.py", line 144, in
IndexError: list index out of range
I've been struggling for a very long time but have no idea..any suggestion?
Hi @simonsayshi . This means, that you have to specify a keyword argument, either Vgg16
or ResNet50
. This means you have to run e.g.
python utils/transfer_FCN.py ResNet50
I also got the AttributeError: 'dict' object has no attribute 'has_key'
Error. Fixed this by changing to
if layer.name in index:
index[layer.name].set_weights(weights)
@RichardSieg thx! it is can work for me
U need run
util/get_weights_path.py
andtransfer_FCN.py
first
You save the day
When I run
python train.py
, it goes wrong. I wander where is the h5 format file. Could you please help me with this problem