First Phase Testing

2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€61.67
List Price:  €88.11
You save:  €26.43
£51.99
List Price:  £74.28
You save:  £22.28
CA$96.16
List Price:  CA$137.39
You save:  CA$41.22
A$108.82
List Price:  A$155.46
You save:  A$46.64
S$90.36
List Price:  S$129.10
You save:  S$38.73
HK$548.79
List Price:  HK$784.02
You save:  HK$235.23
CHF 57.53
List Price:  CHF 82.19
You save:  CHF 24.66
NOK kr715.15
List Price:  NOK kr1,021.69
You save:  NOK kr306.54
DKK kr460.10
List Price:  DKK kr657.31
You save:  DKK kr197.21
NZ$117.37
List Price:  NZ$167.68
You save:  NZ$50.31
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.18
৳8,547.63
List Price:  ৳12,211.42
You save:  ৳3,663.79
₹5,988.94
List Price:  ₹8,556
You save:  ₹2,567.05
RM297.91
List Price:  RM425.60
You save:  RM127.69
₦111,162.31
List Price:  ₦158,810.11
You save:  ₦47,647.80
₨19,720.57
List Price:  ₨28,173.45
You save:  ₨8,452.88
฿2,289.79
List Price:  ฿3,271.27
You save:  ฿981.47
₺2,743.31
List Price:  ₺3,919.18
You save:  ₺1,175.87
B$400.69
List Price:  B$572.44
You save:  B$171.75
R1,259.39
List Price:  R1,799.21
You save:  R539.81
Лв121.18
List Price:  Лв173.12
You save:  Лв51.94
₩96,795.56
List Price:  ₩138,285.30
You save:  ₩41,489.74
₪246.29
List Price:  ₪351.85
You save:  ₪105.56
₱3,903.34
List Price:  ₱5,576.44
You save:  ₱1,673.10
¥10,081.39
List Price:  ¥14,402.60
You save:  ¥4,321.21
MX$1,359.93
List Price:  MX$1,942.84
You save:  MX$582.91
QR255.22
List Price:  QR364.62
You save:  QR109.39
P939.54
List Price:  P1,342.26
You save:  P402.72
KSh9,042.70
List Price:  KSh12,918.70
You save:  KSh3,876
E£3,483.70
List Price:  E£4,976.93
You save:  E£1,493.23
ብር9,511.17
List Price:  ብር13,587.98
You save:  ብር4,076.80
Kz63,827.73
List Price:  Kz91,186.38
You save:  Kz27,358.65
CLP$66,032.76
List Price:  CLP$94,336.56
You save:  CLP$28,303.80
CN¥503.91
List Price:  CN¥719.90
You save:  CN¥215.99
RD$4,134.17
List Price:  RD$5,906.21
You save:  RD$1,772.04
DA9,251.56
List Price:  DA13,217.09
You save:  DA3,965.52
FJ$158.20
List Price:  FJ$226.02
You save:  FJ$67.81
Q537.74
List Price:  Q768.23
You save:  Q230.49
GY$14,635.49
List Price:  GY$20,908.75
You save:  GY$6,273.25
ISK kr8,906.22
List Price:  ISK kr12,723.72
You save:  ISK kr3,817.50
DH647.96
List Price:  DH925.71
You save:  DH277.74
L1,210.17
List Price:  L1,728.89
You save:  L518.71
ден3,794.40
List Price:  ден5,420.80
You save:  ден1,626.40
MOP$565.09
List Price:  MOP$807.31
You save:  MOP$242.21
N$1,250.06
List Price:  N$1,785.87
You save:  N$535.81
C$2,574.41
List Price:  C$3,677.89
You save:  C$1,103.47
रु9,580.24
List Price:  रु13,686.64
You save:  रु4,106.40
S/254.93
List Price:  S/364.21
You save:  S/109.27
K291.64
List Price:  K416.65
You save:  K125
SAR262.59
List Price:  SAR375.15
You save:  SAR112.55
ZK1,862.40
List Price:  ZK2,660.69
You save:  ZK798.28
L311.76
List Price:  L445.39
You save:  L133.63
Kč1,537.47
List Price:  Kč2,196.48
You save:  Kč659.01
Ft24,903.84
List Price:  Ft35,578.44
You save:  Ft10,674.60
SEK kr671.30
List Price:  SEK kr959.04
You save:  SEK kr287.74
ARS$82,841.63
List Price:  ARS$118,350.26
You save:  ARS$35,508.63
Bs483.32
List Price:  Bs690.49
You save:  Bs207.16
COP$287,950.99
List Price:  COP$411,376.19
You save:  COP$123,425.20
₡35,537.95
List Price:  ₡50,770.67
You save:  ₡15,232.72
L1,824.33
List Price:  L2,606.30
You save:  L781.96
₲559,473.94
List Price:  ₲799,282.75
You save:  ₲239,808.80
$U2,908.19
List Price:  $U4,154.73
You save:  $U1,246.54
zł262.19
List Price:  zł374.57
You save:  zł112.38
Already have an account? Log In

Transcript

Hello, everyone, and welcome to the final video of the modeling phase. Before we start with our testing, I want to congratulate each and every one of you for coming this far in the course, if there are some parts of the code that you haven't understood, don't be discouraged, ask in the comment section, I'll be very happy to come and help you. Or you can simply go back to that part and code again, or just watch a video. Let's get back to the testing. For this video, I've already written the code, but don't worry, the same exact code will be used in the flask application down the road. And I'll explain each part of the code in that lesson as well.

To test our pipeline, we have defined our model and the new session, execute the cell. Now we have a newly created session with a completely random initialized model. So the next step is to load our checkpoint and restore the same model. Then let's load our training set. That these will help us load and visualize the most similar images to our query image. Here you can see the first time pass as an example.

And before our testing, there is only one more thing to load training set vectors. Now that we are done with that we have everything ready, we can choose a test image from our test set. Let's choose this airplane. execute a simple inference function with all our inputs. And now we have our resulting images. Let's visualize our query image just to see what we are working with.

Now, are you ready to see our results? execute the cell and congratulations, you have successfully implemented a very good image to Image Search system. We have created a system that recommends us all similar images to the one that we have choose as a reference. How cool is that? Once again, great Java guys, in the next tutorial, we are going to prepare the code for our web application and finally, start creating our flask back end. For now, if you have any questions or comments, please post them in the comment section.

Otherwise, I'll see you in the next tutorial.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.