摘要: Implement a SnapshotArray that supports the following interface: SnapshotArray(int length) initializes an array-like data structure with the given len 阅读全文
posted @ 2020-01-09 12:47 蠢材少年 阅读(160) 评论(0) 推荐(0) 编辑
摘要: link to problem Description: Given a rooted binary tree, return the lowest common ancestor of its deepest leaves. Recall that: The node of a binary tr 阅读全文
posted @ 2020-01-09 11:37 蠢材少年 阅读(133) 评论(0) 推荐(0) 编辑
摘要: link to problem Description: Given two strings text1 and text2, return the length of their longest common subsequence. A subsequence of a string is a 阅读全文
posted @ 2020-01-06 08:23 蠢材少年 阅读(231) 评论(0) 推荐(0) 编辑
摘要: If your Neural Network model seems to have high variance, what of the following would be promising things to try? Make the Neural Network deeper N Get 阅读全文
posted @ 2018-08-16 05:28 蠢材少年 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 出于project的需要,不仅要detect和classify对象,还希望建立不同class的对象之间的关系,进行所谓的pair-matching。 需要完成以下几步: 1. dataset中label的增加: 在自定义的dataset类中,方法_load_XXX_annotation(self, 阅读全文
posted @ 2018-08-14 11:17 蠢材少年 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 实际上faster-rcnn对于输入的图片是有resize操作的,在resize的图片基础上提取feature map,而后generate一定数量的RoI。 我想首先去掉这个resize的操作,对每张图都是在原始图片基础上进行识别,所以要找到它到底在哪里resize了图片。 直接搜 grep 'r 阅读全文
posted @ 2018-07-10 11:14 蠢材少年 阅读(1487) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 MAP是衡量object dectection算法的重要criteria,然而一直没有仔细阅读相关代码,今天就好好看一下: 1. 测试test过程是由FRCN/tools/test_net.py中调用的test_net()完成 #from model.test import test_ 阅读全文
posted @ 2018-03-19 12:10 蠢材少年 阅读(6770) 评论(0) 推荐(0) 编辑
摘要: This is caused by the unmatching of gpu device number when loading a saved model. torch.load('my_file.pt', map_location=lambda storage, loc: storage) 阅读全文
posted @ 2018-03-09 08:06 蠢材少年 阅读(3666) 评论(0) 推荐(0) 编辑
摘要: 1. pip install 'easydict==1.6' --force-reinstall 强制安装制定version 2. pip install git+https://github.com/lanpa/tensorboard-pytorch 阅读全文
posted @ 2018-03-05 10:40 蠢材少年 阅读(128) 评论(0) 推荐(0) 编辑
摘要: It is really useful to save and reload the model and its parameters during or after training in deep learning. Pytorch provides two methods to do so. 阅读全文
posted @ 2018-02-21 09:51 蠢材少年 阅读(268) 评论(0) 推荐(0) 编辑