Introduction
Finding correspondences between keypoints is a critical step in many computer vision applications. It can be used to align images when constructing a panorama from lots of separate photogtraps, and it is
used to find point correspondences between keypoints detetected in multiple views of a scene.
iuww520iuww520iuww520iuww520iuww520iuww520iuww520iuww520
This assignment uses a dataset generated from many views of the Trevi fountain in Rome. Finding correspondences between detected keypoints is a critical step in the pipeline for reconstructing a 3D representation of the fountain from individual photographs.
The dataset in this assignment is generated as a set of pairs of image patches taken centred at detected keypoints. The image patches are 64x64 pixels each and each training sample is made of two patches placed side by side to make a 128x64 image. For half the training set (10,000 examples in the '1good' subdirectory) the two patches are from two separate views of the same keypoint. For the other half (10,000 examples in the '0bad' subdirectory) the two patches are from two different keypoints. Figure
1 shows an example of each of these. The validation directory is similarly structured but contains four times as many non-matching pairs (2000 examples in '0bad') as matching pairs (500 examples in '1good').
Figure 1: Corresponding (left) and non-corresponding (right) pairs of image patches Your task is to create and train some neural networks that can tackle the problem of determining whether the two patches correspond or not.
1. Baseline Neural Network 2 pt
Run the baseline neural network implementation in the provided python notebook and in your report,
you should include the loss and accuracy curves for the training and validation sets in your report and
discuss what these imply about the baseline model.
The validation set contains more bad examples than good. Why might this be a sensible way of
testing for the task of finding feature correspondences? Should the training environment also reflect
this imbalance?
2. Regularizing your Neural Network 2pt
To regularize the network, your should try adding a regularization layer (see the Keras documenation for these layers). Try adding a Dropout() layer after Flatten() and try different rate values to see what the effect of this parameter is. Include the loss and accuracy plots in your report for three different
choices of the rate parameter. Describe the changes you see in these loss and accuracy plots in your report and suggest what the best choice of rate value is from the three you have reported.
3. Convolutional Neural Network 3pt
Design a Convolutional Neural Network to solve this challenge. If you use Conv2D() layers imme diately after the LayerNormalization layer these convolutions will apply identically to both image patches in each input sample. Try using one or two Conv2D() layers with relu activations. You should explore the value of having different numbers of filters, kernel sizes, and strides before the Flatten() layer.
Briefly describe the set of settings you tried in your report in a table (this should be around 10 settings).
For each setting, report the final training loss and accuracy as well as the validation loss and accuracy.
Include a discussion of the results of these experiments in your report. Identify your best performing
design and discuss why you think this may have been best.
Computer Vision COMP90086
jia V iuww5202024-09-08 19:14
相关推荐
小猿君3 分钟前
Claude 入口砍到只剩一个,GPT-6 已经能自己连干 24 小时goujunwe6 分钟前
从效果衰减到稳定增长:GEO 常态化运维实战指南朗锐智科_机器视觉10 分钟前
光电传感器:机器视觉的“触发与到位“武子康15 分钟前
TP、PP、DP、EP 如何组合:八张卡,怎样淘汰不合适的配置蓝速科技19 分钟前
桌面双屏翻译机量产调试:三类场景兼容性破局方案丨蓝速科技见闻小天地20 分钟前
脱硫脱硝塔选变频器避坑指南:四方DL500变频器使用体验分享打工仔折腾 AI28 分钟前
普通摄像头接入AI识别:绿联NAS部署Frigate监控实战2601_9576382443 分钟前
常佐网络做的裂变小程序会不会被封:实践与思考爱丶不疚43 分钟前
Skill的形态有哪些?什么样的Skill 叫做好Skill?逻辑君1 小时前
MoreLogic RAG 个人免费版 · 产品宣传手册和产品白皮书