In PyTorch, the model is a Python object. In the case of models.resnet50 , dense layers are stored in model.fc attribute. We'll overwrite them.
確定! 回上一頁