Yango

Results 26 comments of Yango

> 没事了,我搞懂了,不过导出 pdf 是调用浏览器的打印吗??怎么打印的效果和模板实际情况不符啊,边缘没有打印出来: > ![image](https://user-images.githubusercontent.com/40510496/78787001-3d834300-79dc-11ea-9b17-cdba6820e01d.png) 请问如何添加方框呢

Thanks. In the paper, it trained 2 models: DAN and DAN-Menpo. For DAN, it used only 3148 images, so I wonder is it enough for the training of CNN? ![image](https://user-images.githubusercontent.com/16739522/38128459-3bdbda4a-342d-11e8-8b75-a8d5530260fa.png)...

Ok, thanks. You are really kind.

`def GeneratePerturbations(self, nPerturbations, perturbations):` Is this function used for data augmentation? so how many images will be augmented per image? I see in the code `trainSet.GeneratePerturbations(10, [0.2, 0.2, 20, 0.25])#`...

mobile net是另外加进去的吗?

` plt.savefig("../meanImg.jpg")` ``TypeError: integer argument expected, got float 这个是怎么回事呢,meanImg这个矩阵的元素是int,怎么还会报错?

meanImg的每个元素都是int,我将`plt.savefig("../meanImg.jpg")`改为`plt.savefig("../meanImg.png")`后,就生成了 ![image](https://user-images.githubusercontent.com/16739522/38467418-d1c46f38-3b6a-11e8-9807-7659311a72ce.png) 但是不知道为什么。 此外运行trainDAN.py会报这个错: ![image](https://user-images.githubusercontent.com/16739522/38467425-ee6a2362-3b6a-11e8-9d2d-0cc71601803a.png)

最近想训练这个模型,关于如何运行,是不是先分别run `training\testSetPreparation.py`这两个文件,生成所需要的.npz然后再去run `trainDAN.py`? 我在运行`testSetPreparation.py`时,抛出一个error: `Traceback (most recent call last): File "/home/huangyangguang/PycharmProjects/Deep-Alignment-Network-tensorflow-master/DAN-TF/TestSetPreparation.py", line 20, in commonSet.PrepareData(commonSetImageDirs, commonSetBoundingBoxFiles, meanShape, 0, 1000, False) File "/home/huangyangguang/PycharmProjects/Deep-Alignment-Network-tensorflow-master/DAN-TF/ImageServer.py", line 60, in PrepareData boundingBoxDict = pickle.load(open(boundingBoxFiles[i], 'rb'))...

嗯嗯,那这两个也需要改吗? `challengingSetImageDirs = ["../data/images/ibug/"] challengingSetBoundingBoxFiles = ["../data/boxesIBUG.pkl"] w300SetImageDirs = ["../data/images/300W/01_Indoor/", "../data/images/300W/02_Outdoor/"] w300SetBoundingBoxFiles = ["../data/boxes300WIndoor.pkl", "../data/boxes300WOutdoor.pkl"]`