TR U IN G DAI HOC SU' PHAM KY THUAT
t h An h ph 6 h o c h i' m in h
KHOA CO KHI CHE TAO MAY
BO MON CO DIEN TU”
BE THI CUOI KY HK I NAM HOC 2019-2020
Mon: XU LY ANH CONG NGHIfiP
Ma mon hoc: IIPR422529
Be so: 01 Be thi co 02 trang
Ngaythi: 16/12/2019
Thai gian: 75 phut.
Buoc phep sir dung tai lieu giay
Cau 1: (2d)
Xay dung va cai dat thuat toan lam tang do net cua anh bang mat na Laplace. (2d)
Tai sao mat na Laplace lai lam tang do net cua anh? (0.5d)
Cau 2: (3d)
Xay dung va cai dat thuat toan loai bo cac hat gao nho hon 90% hat gao Ion nhdt, tire la
trong anh chi con lai tihung hat gao ldn.
Can 3: (3d)
Ta dinli nghia mang no-ron chap dung de nhan dang 10 chu so viet tay co kich thuoc 28x28
nhu sau:
def build(input_shape, classes):
model = Sequential)
# corn => RELU => POOL
model.add(Conv2D(20, kernel_size=5, padding="same",
input_shape=input_shape))
model. add(Activation("relu"))
model.add(MaxPooling2D(pool _size~-(2, 2), strides=(2, 2)))
# CONV => RELU => POOL
model.add(Conv2D(50, kernel_sizer-5, padding="same"))
model. add( Act i vati on (" re 1 u"))
model.add(MaxPooling2D(pool__size~(2, 2), strides= (2. 2)))
H Flatten => R£LU layers
,i n o d e 1. a d d (F1 a t ten ())
model. add(Den.se( 5 Of)))
mode! add(Aoiivation(v'reIn"))
A a soltmax classifier
model ,add( Dense(classes))
model. add(Activation("softmax'))
S3 hicu- B M 1 /QT- PDBCL-RDTV Tranu 1/2
%
a. Hay ve so' do khoi cua mang no-ron chap tren.
b. Cho bi€t s6 lugng tham so cua cac bo loc trong cac lap chap (co tinh nut bias).
c. Cho biet so lugng trong so cua lop ket noi day du (co tinh nut bias)
Cau 4: (26)
Given the input' image and the filter shown in the following figure:
1 2 3 0 1 5
4 5 64 9 3
789 5 0 1
34 9 2 65
35 8 9 7 9
157460
2 1 -2
00 -1
101
a. Determine the size o f the output image if zero-padding is 0 and stride is 1. (0.5
points)
b. Compute the output image as the convolution of the input image and the filter. (1.5
points)
------------------------
HET
-------------------
-
Ghi chu: Can bo coi thi khong giai thick de thi.
Oman dau ra cua hoc phan (ve kien thuc) Noi dong idem fra
fG 2.11: Nam duac cac phuang phap xic ly anh co ban Cau 1,3, 4
[G 2.2]: Tim duac phwongphap giai quyet mot so bai loan
xu ly anh bang each ket hop mot hoac nhieu phuang phap
Cau 2
[G 3]: Hieu duoc cac thudl ngu tieng Anh co ban dung trong
xu ly anh
Cau 4
Ngay 8 thang 12 nam 2019
Thong qua bo mon
(ky va ghi ro ho ten)
C - Qui-cna
7
So hieu: BM1 /QT-PBBCL-RBTV Trang 2/2