-
train code:
if not self.valid:
for i in range(self.trainEpochNum):
m.fit_gen(D,2,epochs=1)
m.save_weights(self.saveWeight+'.'+str(i))
…
-
**problem**
我的input是二维矩阵,一列代表1句话,一个矩阵代表一篇文章,我在文章层面做过padding(把不同长度的句子扩展成同样长度的向量),但是因为不同文章的句子数以及最长句子的长度不同,所以不同文章的2维表示的size是不同的,这就需要在传入一个batch的数据时对这个batch里的所有二维向量进行padding。但fastnlp的trainner似乎现在还没有支持这种…
-
After image saving stopped train new OpenCV image recognition model.
Maintain version for the models. Folder name of the model should be as version_
Next version is the "directory count + 1" in the …
-
Thank you for providing DSFD_tensorflow
I have some problems during training:
Use WIDER to do training.
Run `python prepare_wider_data.py` produce train.txt and val.txt
Run `python train.py` but i…
-
i find a bug ,that is label's dictionary is wrong ,however my IDE tell me there is something wrong with my loss. and it take me some hours to read all the code to check it .
so i think can there a…
-
**Description**
I have implemented the Multi-Granularity Hierarchical Attention Fusion Networks to run on the CoQA, the paper is here: [https://acl2018.org/paper/1469](https://acl2018.org/paper/1469)…
-
I am getting error
OpenCV Error: Unspecified error (File can't be opened for reading!) in cv::face::FaceRecognizer::read, file C:\projects\opencv-python\opencv_contrib\modules\face\src\facerec.cpp, l…
-
I am trying to run the example code on [page](https://spacy.io/usage/training#section-basics)
But I get the following error:
```
Traceback (most recent call last):
File "trainNer.py", line 9…
-
https://github.com/Conchylicultor/DeepQA/blob/master/chatbot/trainner.py#L46
`value = str(random(valueArg[0], max=valueArg[1]))`
-
Hi, 在使用paddle v1和v2的过程中,在sparse update上遇到一些坑。
(1) 使用v2的时候,遇到开启sparse update但是训练效率并没有提升的问题。
(2) 现在用v1的时候,
开启sparse update的时候,trainner count不能为8,只能为1,否则出现一个现象:第一个batch的loss就为0,此后一直不变。见 #5670
不开启spa…