28.04.2020 Views

Sách Deep Learning cơ bản

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11.1 Transfer learning 155

Hình 11.6: Freeze các layer của pre-trained model, chỉ train ở các layer mới [21]

# -*- coding: utf-8 -*-

# Thêm thư viện

from sklearn.linear_model import LogisticRegression

from sklearn.model_selection import GridSearchCV

from sklearn.metrics import classification_report

from imutils import paths

from keras.applications import VGG16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!