English 中文(简体)
开放式社区网
原标题:OpenCV Neural Net Weights
  • 时间:2009-11-28 23:33:59
  •  标签:
  • opencv

I am trying to run a NN learner on same data in 2 different programs. Although everything (the data and parameters) are same and also I manually set initial weights to same value (0), I result in different weights in 2 programs. Interesting thing is running each program consecutively doesn t change independent results. What I debug and check is:

(1) 投入数据

(2) 无线参数

3)内加权

4) 标签(产出点)

这些都是相同的。 我应该检查什么?

最佳回答

我认为,正在发生的情况是,有线电视新闻网的培训算法正在随机设置一些种子,因此,你的加权表将在你的培训中以不同的价值结束。

第二,如果你使用同样的培训教材,那么,这两种方案对你神经网络的分类实际上都会相同。

问题回答

正如答复1所述,它可能把权重推到随机值。 总的来说,你不应将无限制的权重推为零,因为这总是令人悲伤的。 这意味着典型的复方培训算法将失败。





相关问题
Python/OpenCV: Converting images taken from capture

I m trying to convert images taken from a capture (webcam) and do some processing on them with OpenCV, but I m having a difficult time.. When trying to convert the image to grayscale, the program ...

How to smooth a histogram?

I want to smooth a histogram. Therefore I tried to smooth the internal matrix of cvHistogram. typedef struct CvHistogram { int type; CvArr* bins; float thresh[CV_MAX_DIM][2]; /* ...

Testing complex datatypes?

What s are some ways of testing complex data types such as video, images, music, etc. I m using TDD and wonder are there alternatives to "gold file" testing for rendering algorithms. I understand that ...

Displaying OpenCV iplimage data structures with wxPython

Here is my current code (language is Python): newFrameImage = cv.QueryFrame(webcam) newFrameImageFile = cv.SaveImage("temp.jpg",newFrameImage) wxImage = wx.Image("temp.jpg", wx.BITMAP_TYPE_ANY)....

What is the memory structure of OpenCV s cvMat?

Imagine I have the following: CvMat* mat = cvCreateMat(3,3,CV_16SC3) This is a 3x3 matrix of integers of channel 3. Now if you look at OpenCV documentation you will find the following as the ...

Face detection and comparison

I m running a small research on face detection and comparison for my article. Currently, I m using rapid face detection based on haar like features based on OpenCV cascade (I ll implement learning ...

热门标签