TWM567900U - Data reduction and computer system for establishing data identification model - Google Patents

Data reduction and computer system for establishing data identification model Download PDF

Info

Publication number
TWM567900U
TWM567900U TW107202383U TW107202383U TWM567900U TW M567900 U TWM567900 U TW M567900U TW 107202383 U TW107202383 U TW 107202383U TW 107202383 U TW107202383 U TW 107202383U TW M567900 U TWM567900 U TW M567900U
Authority
TW
Taiwan
Prior art keywords
data
image data
neural network
model
deep neural
Prior art date
Application number
TW107202383U
Other languages
Chinese (zh)
Inventor
吳昕益
蕭文菁
Original Assignee
倍加科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 倍加科技股份有限公司 filed Critical 倍加科技股份有限公司
Priority to TW107202383U priority Critical patent/TWM567900U/en
Publication of TWM567900U publication Critical patent/TWM567900U/en

Links

Landscapes

  • Image Processing (AREA)

Abstract

一種資料減量及建立資料識別模型的電腦系統,其一組合產生模組根據從X(X≧2)種抖色演算法中選擇Y(1≦Y≦X-1)個演算法的規則,產生Z種演算法組合,其一資料減量模組以該Z種演算法組合分別對以a位元表示圖素的一影像資料進行抖色處理,而將該影像資料轉換成Z種以b位元表示圖素的減量後影像資料,其中1≦b≦a-1,且其一模型建立模組以該Z種減量後影像資料分別訓練一深度神經網路,以對應產生Z個訓練後的深度神經網路模型、訓練結果及該訓練結果與一期望結果的一誤差,並選擇產生該Z個誤差中最小誤差的該深度神經網路模型做為一資料識別模型。A computer system for data reduction and data identification model, a combination generation module generates rules according to a rule of selecting Y(1≦Y≦X-1) algorithms from X(X≧2) kinds of dithering algorithms A combination of Z algorithms, wherein the data reduction module separately performs a dithering process on an image data represented by a bit in the Z algorithm, and converts the image data into Z types in b bits. Representing the reduced image data of the pixel, wherein 1≦b≦a-1, and a model building module respectively trains a deep neural network with the Z-reduced image data to correspondingly generate Z training depths. The neural network model, the training result, and an error between the training result and a desired result, and selecting the deep neural network model that generates the smallest error among the Z errors as a data recognition model.

Description

資料減量及建立資料識別模型的電腦系統Data reduction and computer system for establishing data identification model

本新型是有關於深度神經網路訓練系統,特別是指一種應用深度神經網路建立資料識別模型的電腦系統。The present invention relates to a deep neural network training system, and more particularly to a computer system for applying a deep neural network to establish a data recognition model.

人工智慧(AI)是近來產業界如火如荼發展的技術之一,舉凡自動駕駛汽車或各類型機器人所運用的例如影像辨識、資料分析等,都需要藉助AI技術。而在AI技術的發展中,深度神經網路(Deep Neural Network;DNN)一直扮演著重要的角色。深度神經網路是機器學習中一種深度學習的方法,其透過模仿生物神經系統的數學模型,不斷地對其提供大量的資料以進行不同階層與架構的多次運算和訓練,藉以找出最佳化且最有效的一深度學習模型。因此,提供高品質且大量的資料對深度神經網路進行運算訓練,有助於提升深度神經網路的訓練準確率。Artificial intelligence (AI) is one of the technologies that has been in full swing in recent years. For example, image recognition and data analysis used by autonomous vehicles or various types of robots require AI technology. In the development of AI technology, Deep Neural Network (DNN) has always played an important role. Deep neural network is a deep learning method in machine learning. It simulates the mathematical model of the biological nervous system and continuously provides a large amount of data for multiple calculations and trainings of different classes and architectures to find the best. The most effective and deep learning model. Therefore, providing high-quality and large amounts of data to perform computational training on deep neural networks can help improve the training accuracy of deep neural networks.

但大量的資料意味著深度神經網路需要進行龐大的運算量並產生相對多的參數,而這些參數將會佔用大量的記憶體空間,使得產出的深度神經網路模型不易於應用在記憶體空間有限的電子裝置或電子設備中。因此,適度地縮減深度神經網路模型中的參數,使其減少記憶體空間的佔用量在實際應用上有其必要性。However, a large amount of data means that deep neural networks require a large amount of computation and generate relatively large parameters, and these parameters will occupy a large amount of memory space, making the resulting deep neural network model not easy to apply to the memory. In electronic devices or electronic devices where space is limited. Therefore, it is necessary to moderately reduce the parameters in the deep neural network model to reduce the memory space occupancy in practical applications.

因此,本新型之目的,即在提供一種資料減量及建立資料識別模型的電腦系統。Therefore, the purpose of the present invention is to provide a computer system for data reduction and data identification models.

於是,本新型資料減量及建立資料識別模型的電腦系統,包括一儲存裝置及一處理裝置,該儲存裝置儲存一影像資料及X(X≧2)種抖色演算法,該處理裝置與該儲存裝置電耦接以存取該影像資料及該等抖色演算法,並包含一組合產生模組、一資料減量模組及一模型建立模組;其中,該組合產生模組根據從X(X≧2)種抖色演算法中選擇Y(1≦Y≦X-1)個演算法的規則,產生Z種演算法組合;該資料減量模組以該Z種演算法組合分別對以a個位元表示其圖素的該影像資料進行抖色處理,而將該影像資料轉換成Z種以b個位元表示其圖素的減量後影像資料,其中1≦b≦a-1;該模型建立模組預備一深度神經網路,並以該Z種減量後影像資料分別訓練該深度神經網路,以對應每一種減量後影像資料產生訓練後的一深度神經網路模型及一訓練結果,以及該訓練結果與一期望結果的一誤差,且選擇與該Z個誤差中最小誤差對應的該種演算法組合做為資料減量的一濾波器模組,並選擇產生該Z個誤差中最小誤差的該深度神經網路模型做為一資料識別模型。Thus, the computer system for reducing the amount of data and establishing a data identification model includes a storage device and a processing device, the storage device storing an image data and an X (X≧2) type of color-shifting algorithm, the processing device and the storage device The device is electrically coupled to access the image data and the dithering algorithms, and includes a combination generation module, a data reduction module and a model creation module; wherein the combination generation module is based on X (X) ≧ 2) Selecting the rules of Y(1≦Y≦X-1) algorithms in the dithering algorithm to generate Z algorithm combinations; the data decrement module combines the Z algorithms into a The bit indicates that the image data of the pixel is dithered, and the image data is converted into Z kinds of reduced image data whose pixels are represented by b bits, wherein 1≦b≦a-1; the model Establishing a module to prepare a deep neural network, and training the deep neural network with the Z-reduced image data to generate a deep neural network model and a training result after training for each reduced image data. And the results of the training and a desired result Error, and selecting the combination of the algorithms corresponding to the minimum error of the Z errors as a filter module for data decrement, and selecting the deep neural network model that generates the smallest error among the Z errors as one Data identification model.

在本新型的一些實施態樣中,Y=2,且該資料減量模組以每一種演算法組合中的其中一種演算法對該影像資料進行抖色處理,而將該影像資料的圖素轉換成由m個位元表示的一第一轉換後影像資料,該資料減量模組並以每一種演算法組合中的其中另一種演算法對該影像資料進行抖色處理,而將該影像資料的圖素轉換成由n個位元表示的一第二轉換後影像資料,且該第一轉換後影像資料與該第二轉換後影像資料構成該減量後影像資料,m+n=b。In some implementations of the present invention, Y=2, and the data reduction module performs color dithering on the image data in one of each algorithm combination, and converts the pixel data of the image data. a first converted image data represented by m bits, and the data reduction module performs color dithering on the image data by another algorithm in each algorithm combination, and the image data is The pixel is converted into a second converted image data represented by n bits, and the first converted image data and the second converted image data constitute the reduced image data, m+n=b.

在本新型的一些實施態樣中,該模型建立模組以每一種轉換後影像資料訓練該深度神經網路的步驟包括:(C1)將該減量後影像資料輸入該深度神經網路,使輸出該訓練結果;(C2)將該訓練結果與該期望結果比較而產生該誤差;(C3)將該誤差輸入該深度神經網路;及(C4)重覆步驟(C1)至(C3)直到該誤差不再變化,則輸出經訓練後的該深度神經網路模型及該誤差。In some implementations of the present invention, the step of the model building module training the deep neural network with each of the converted image data comprises: (C1) inputting the reduced image data into the deep neural network to output The training result; (C2) comparing the training result with the expected result to generate the error; (C3) inputting the error into the deep neural network; and (C4) repeating steps (C1) to (C3) until the If the error does not change, the trained deep neural network model and the error are output.

在本新型的一些實施態樣中,該儲存裝置及該處理裝置是整合在一電腦裝置中,該儲存裝置是該電腦裝置的一儲存單元,該處理裝置是該電腦裝置的一處理單元。In some embodiments of the present invention, the storage device and the processing device are integrated into a computer device, the storage device being a storage unit of the computer device, and the processing device is a processing unit of the computer device.

在本新型的一些實施態樣中,該儲存裝置與該處理裝置是透過有線或無線網路電耦接以互相通訊。In some embodiments of the present invention, the storage device and the processing device are electrically coupled to each other via a wired or wireless network to communicate with each other.

本新型之功效在於:藉由該資料減量模組根據原始的該影像資料及該Z種演算法組合,對應產生Z種減量後影像資料,並由該模型建立模組以該Z種減量後影像資料對該深度神經網路進行訓練,而對應產生Z個訓練後的深度神經網路模型及其誤差,並從中選取具有最小誤差的該深度神經網路模型做為該資料識別模型,藉此,達到使該資料識別模型中的參數減量的效果。The utility model has the following advantages: the data reduction module generates corresponding Z-reduced image data according to the original image data and the Z algorithm combination, and the model is used to create the module to reduce the Z image. The data is trained on the deep neural network, and correspondingly, the Z-trained deep neural network model and its error are generated, and the deep neural network model with the smallest error is selected as the data recognition model, thereby The effect of decrementing the parameters in the data recognition model is achieved.

在本新型被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same reference numerals.

參閱圖1,是本新型資料減量及建立資料識別模型的電腦系統的一實施例,該電腦系統100主要包括一儲存一影像資料及X(X≧2)種抖色(dithering)演算法的儲存裝置1以及一處理裝置2,且該處理裝置2與該儲存裝置1電耦接以存取該影像資料及該等抖色演算法,並包括一組合產生模組21、一資料減量模組22及一模型建立模組23,且在本實施例中,這三個模組是以程式軟體的方式實現,但不以此為限,這三個模組也可以韌體或軟體與硬體結合的方式實現。Referring to FIG. 1, an embodiment of a computer system for reducing data and establishing a data identification model includes a method for storing an image data and storing X(X≧2) dithering algorithms. The device 1 and the processing device 2 are electrically coupled to the storage device 1 to access the image data and the dithering algorithm, and include a combination generation module 21 and a data reduction module 22 And a model building module 23, and in the embodiment, the three modules are implemented by means of program software, but not limited thereto, the three modules can also be combined with firmware or software and hardware. The way to achieve.

因此,在本實施例中,該包含組合產生模組21、資料減量模組22及模型建立模組23的程式被該處理裝置2執行後,將完成如圖2所示的方法流程。其中,該影像資料是指具有一定數量的一批原始影像資料(或稱raw data)。且該儲存裝置1與該處理裝置2可以透過有線或無線網路方式通訊以傳輸資料;或者該儲存裝置1與該處理裝置2亦可整合在同一電腦裝置中,則該儲存裝置1是該電腦裝置的一儲存單元,該處理裝置2是該電腦裝置的一處理單元,例如中央處理器。Therefore, in this embodiment, after the program including the combination generation module 21, the data reduction module 22, and the model creation module 23 is executed by the processing device 2, the method flow shown in FIG. 2 is completed. The image data refers to a certain amount of original image data (or raw data). The storage device 1 and the processing device 2 can communicate via a wired or wireless network to transmit data. Alternatively, the storage device 1 and the processing device 2 can be integrated into the same computer device. A storage unit of the device, the processing device 2 being a processing unit of the computer device, such as a central processing unit.

因此,首先,如圖2的步驟S1,該組合產生模組21根據從X(X≧2)種抖色演算法中選擇Y(1≦Y≦X-1)個演算法之規則,產生Z種演算法組合,並將該等演算法組合提供給該資料減量模組22;以X=9,即9種抖色演算法,Y=2,即從9種抖色演算法中選擇2個為例,該組合產生模組21可根據上述規則產生Z=36,即36種演算法組合。且在本實施例中,該9種抖色演算法可以是例如”Floyd-Steinberg”、”Jarvis, Judice & Ninke”、”Stucki”、”Burkes”、”Sierra”、”Two-row Sierra”、”Sierra Lite”、”Atkinson”、”Gradient-based”等,但不以此為限。Therefore, first, as shown in step S1 of FIG. 2, the combination generation module 21 generates Z according to the rule of selecting Y(1≦Y≦X-1) algorithms from X(X≧2) kinds of dithering algorithms. The algorithm combination is provided, and the algorithm combination is provided to the data reduction module 22; with X=9, that is, 9 kinds of dithering algorithms, Y=2, that is, 2 out of 9 dithering algorithms are selected. For example, the combination generation module 21 can generate Z=36, that is, 36 algorithm combinations according to the above rules. In this embodiment, the nine color-shifting algorithms may be, for example, "Floyd-Steinberg", "Jarvis, Judice & Ninke", "Stucki", "Burkes", "Sierra", "Two-row Sierra", "Sierra Lite", "Atkinson", "Gradient-based", etc., but not limited to this.

接著,如圖2的步驟S2,該資料減量模組22以該Z種演算法組合分別對以a(a≧8)個位元表示其圖素的該影像資料進行抖色處理,而將該影像資料轉換成Z種以b個位元表示其圖素的減量後影像資料,其中1≦b≦a-1;具體而言,如圖3所示,假設每一種演算法組合是由兩種(即Y=2)演算法f1、f2組成,則該資料減量模組22是以該種演算法組合的其中一種演算法f1對該影像資料D進行抖色處理,而將該影像資料D的圖素轉換成由m個位元表示的一第一轉換後影像資料D1,該資料減量模組22再以該種演算法組合的其中另一種演算法f2對該影像資料D進行抖色處理,而將該影像資料D的圖素轉換成由n個位元表示的一第二轉換後影像資料D2,且該第一轉換後影像資料D1與該第二轉換後影像資料D2構成該減量後影像資料D′,且m+n=b。當然上述的Y也可以是其他大於2但小於X的正整數。Then, in step S2 of FIG. 2, the data reduction module 22 performs a color dithering process on the image data whose pixels are represented by a (a ≧ 8) bits by using the Z algorithm combinations. The image data is converted into Z kinds of deduced image data whose pixels are represented by b bits, where 1≦b≦a-1; specifically, as shown in FIG. 3, it is assumed that each algorithm combination is composed of two types. (ie, Y=2) is composed of algorithms f1 and f2, and the data decrement module 22 performs dither processing on the image data D by one of the algorithms f1 of the algorithm combination, and the image data D is The pixel is converted into a first converted image data D1 represented by m bits, and the data reduction module 22 performs color dithering on the image data D by another algorithm f2 combined by the algorithm. The pixel of the image data D is converted into a second converted image data D2 represented by n bits, and the first converted image data D1 and the second converted image data D2 constitute the reduced image. Data D', and m+n=b. Of course, the above Y may also be other positive integers greater than 2 but less than X.

例如,假設該影像資料的圖素是以a=24,即24位元表示,而演算法f1將該影像資料D的圖素轉換成由m=1個位元表示的第一轉換後影像資料D1,且演算法f2將該影像資料D的圖素轉換成由n=1個位元表示的第二轉換後影像資料D2,因此該減量後影像資料D′的圖素是以b=2個位元表示。藉此,即可將原本以24位元表示圖素的影像資料D減量為以2個位元表示圖素的該減量後影像資料D′,當然,上述的b、m、n也可以是其他的正整數,只要m+n=b且b≦a-1即達到資料減量的效果。因此,該影像資料D經過該資料減量模組22處理後,將產生與該Z種演算法組合對應的Z種以b個位元表示圖素的減量後影像資料D′。For example, suppose the pixel of the image data is represented by a=24, that is, 24-bit, and the algorithm f1 converts the pixel of the image data D into the first converted image data represented by m=1 bits. D1, and the algorithm f2 converts the pixel of the image data D into the second converted image data D2 represented by n=1 bits, so the pixel of the reduced image data D′ is b=2 Bit representation. Thereby, the image data D originally represented by the 24-bit representation pixel can be reduced to the reduced-length image data D' in which the pixels are represented by 2 bits. Of course, the above b, m, n may be other A positive integer, as long as m + n = b and b ≦ a-1 is the effect of data reduction. Therefore, after the image data D is processed by the data reduction module 22, Z types of decremented image data D' representing the pixels in b bits corresponding to the combination of the Z algorithms are generated.

然後,如圖2的步驟S3,該模型建立模組23以該Z種減量後影像資料D′分別訓練預備的一深度神經網路24,使對應每一種減量後影像資料D′產生訓練後的一深度神經網路模型及一訓練結果(例如一辨識率),以及該訓練結果與一期望結果(例如一期望辨識率)的一誤差;具體而言,如圖4的步驟S31所示,該模型建立模組23將每一種減量後影像資料D′輸入該深度神經網路24,使該深度神經網路24經由該減量後影像資料D′訓練後輸出該訓練結果;接著,如圖4的步驟S32, 該模型建立模組23將該訓練結果與該期望結果比較而產生該誤差;然後,如步驟S33,該模型建立模組23判斷本次誤差是否為第一個誤差(即第一個產生的誤差)?若是,則進行步驟S34,將該誤差反饋輸入該深度神經網路24,並重覆上述步驟S31及S2,若否(亦即至少已經產生第二個誤差),則進行步驟S35,判斷本次誤差是否等於前次誤差?若否,表示該深度神經網路24的訓練結果尚未趨於穩定,則執行步驟S34,將該誤差反饋輸入該深度神經網路24,並重覆上述步驟S31至S35,直到該誤差不再變化,表示該深度神經網路24的訓練結果已穩定,則輸出經訓練後的該深度神經網路模型及該誤差,並將其儲存在該儲存裝置1中。藉此,該模型建立模組23將對應Z種減量後影像資料D′產生Z個訓練後的深度神經網路模型及其訓練結果,以及Z個該訓練結果與該期望結果的誤差。Then, in step S3 of FIG. 2, the model building module 23 trains the prepared deep neural network 24 with the Z-reduced image data D', so that each of the reduced image data D' is generated after training. a deep neural network model and a training result (eg, a recognition rate), and an error between the training result and a desired result (eg, a desired recognition rate); specifically, as shown in step S31 of FIG. 4, The model building module 23 inputs each of the reduced image data D' into the deep neural network 24, and the deep neural network 24 trains the reduced image data D' to output the training result; then, as shown in FIG. Step S32, the model establishing module 23 compares the training result with the expected result to generate the error; then, in step S33, the model establishing module 23 determines whether the current error is the first error (ie, the first The generated error)? If yes, proceed to step S34, input the error feedback to the deep neural network 24, and repeat the above steps S31 and S2, and if not (that is, at least the second error has been generated), proceed to step S35. Judging Is the secondary error equal to the previous error? If not, indicating that the training result of the deep neural network 24 has not stabilized yet, step S34 is performed, the error is fed back into the deep neural network 24, and the above steps S31 to S35 are repeated. Until the error no longer changes, indicating that the training result of the deep neural network 24 has stabilized, the trained deep neural network model and the error are output and stored in the storage device 1. Thereby, the model building module 23 generates Z trained deep neural network models and training results corresponding to the Z reduced image data D′, and errors of the Z training results and the expected results.

然後,如圖2的步驟S4,該模型建立模組23根據該Z個誤差,選擇與其中該最小誤差對應的該種演算法組合做為資料減量的一濾波器模組,並選擇與其中該最小誤差對應的該深度神經網路模型做為一資料識別模型。且與該最小誤差對應的該種演算法組合(即該濾波器模組)中的演算法由於能夠保留影像資料中較多的特徵細節,且演算法彼此之間具有較佳的互補關係,因此其組合在所有的組合中得以讓減量後影像資料D′保留最多的特徵細節(即對影像資料具有最佳的敏感度),故能使其對應的該訓練後的深度神經網路模型(即該資料識別模型)具有最小誤差,而具有相對高的辨識準確率。因此,藉由本實施例獲得的該濾波器模組及該資料識別模型即可被應用在後續的一模型壓縮(compression)程序及相關應用中。Then, in step S4 of FIG. 2, the model building module 23 selects, according to the Z errors, a combination of the algorithms corresponding to the minimum error as a filter module for data decrement, and selects and The deep neural network model corresponding to the minimum error is used as a data recognition model. And the algorithm in the combination of the algorithms corresponding to the minimum error (ie, the filter module) can retain more feature details in the image data, and the algorithms have a better complementary relationship with each other. The combination allows the reduced image data D' to retain the most feature details (ie, the best sensitivity to the image data) in all combinations, so that it can correspond to the post-training deep neural network model (ie The data recognition model has a minimum error and a relatively high recognition accuracy. Therefore, the filter module and the data identification model obtained by the embodiment can be applied to a subsequent model compression program and related applications.

綜上所述,上述實施例藉由資料減量模組22根據原始影像資料D及該Z種演算法組合,對應產生Z種減量後影像資料D′,並由模型建立模組23以該Z種減量後影像資料D′對深度神經網路進行訓練,而對應產生Z個訓練後的深度神經網路模型及其誤差,並從中選取具有最小誤差的該深度神經網路模型做為該資料識別模型,藉此,達到使該資料識別模型中的參數減量的效果,而確實達到本新型之功效與目的。In summary, the above embodiment uses the data reduction module 22 to generate Z-weighted image data D′ according to the original image data D and the Z algorithm combination, and the model building module 23 uses the Z species. After the reduction, the image data D' trains the deep neural network, and correspondingly generates the Z-trained deep neural network model and its error, and selects the deep neural network model with the smallest error as the data recognition model. Thereby, the effect of reducing the parameters in the data identification model is achieved, and the efficacy and purpose of the novel are indeed achieved.

惟以上所述者,僅為本新型之實施例而已,當不能以此限定本新型實施之範圍,凡是依本新型申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本新型專利涵蓋之範圍內。However, the above is only the embodiment of the present invention, and when it is not possible to limit the scope of the present invention, all the simple equivalent changes and modifications according to the scope of the patent application and the contents of the patent specification are still This new patent covers the scope.

1‧‧‧儲存裝置1‧‧‧Storage device

2‧‧‧處理裝置2‧‧‧Processing device

21‧‧‧組合產生模組21‧‧‧Combined production module

22‧‧‧資料減量模組22‧‧‧ Data Reduction Module

23‧‧‧模型建立模組23‧‧‧Model building module

24‧‧‧深度神經網路24‧‧‧Deep neural network

D‧‧‧影像資料D‧‧‧Image data

D′‧‧‧減量後影像資料D'‧‧‧Reduced image data

f1、f2‧‧‧演算法F1, f2‧‧‧ algorithm

D1‧‧‧第一轉換後影像資料D1‧‧‧First converted image data

D2‧‧‧第二轉換後影像資料D2‧‧‧Second converted image data

S1~S4‧‧‧步驟S1~S4‧‧‧ steps

S31~S36‧‧‧步驟S31~S36‧‧‧Steps

本新型之其他的特徵及功效,將於參照圖式的實施方式中清楚地顯示,其中: 圖1是本新型資料減量及建立資料識別模型的電腦系統的一實施例的主要裝置及模組方塊圖; 圖2是本實施例的一主要流程圖; 圖3是說明本實施例的該資料減量模組及該模型建立模組的的功能示意圖;及 圖4是本實施例的該模型建立模組訓練該深度神經網路的流程圖。Other features and effects of the present invention will be clearly shown in the embodiments with reference to the drawings, wherein: FIG. 1 is a main device and a module block of an embodiment of a computer system for reducing data and establishing a data identification model of the present invention. Figure 2 is a main flow chart of the embodiment; Figure 3 is a schematic diagram showing the function of the data reduction module and the model building module of the embodiment; and Figure 4 is the model building mode of the embodiment. A flowchart of the training of the deep neural network.

Claims (5)

一種資料減量及建立資料識別模型的電腦系統,包括:一儲存裝置,儲存一影像資料及X(X≧2)種抖色演算法;及一處理裝置,其與該儲存裝置電耦接以存取該影像資料及該等抖色演算法,並包含一組合產生模組、一資料減量模組及一模型建立模組;其中該組合產生模組根據從X(X≧2)種抖色演算法中選擇Y(1≦Y≦X-1)個演算法的規則,產生Z種演算法組合;該資料減量模組以該Z種演算法組合分別對以a個位元表示其圖素的該影像資料進行抖色處理,而將該影像資料轉換成Z種以b個位元表示其圖素的減量後影像資料,其中1≦b≦a-1;該模型建立模組預備一深度神經網路,並以該Z種減量後影像資料分別訓練該深度神經網路,以對應每一種減量後影像資料產生訓練後的一深度神經網路模型及一訓練結果,以及該訓練結果與一期望結果的一誤差,且選擇該Z種演算法組合中與該Z個誤差中最小誤差對應的該種演算法組合做為資料減量的一濾波器模組,並選擇產生該Z個誤差中最小誤差的該深度神經網路模型做為一資料識別模型。 A computer system for reducing data and establishing a data identification model includes: a storage device for storing an image data and an X (X≧2) type of dithering algorithm; and a processing device electrically coupled to the storage device for storing Taking the image data and the dithering algorithms, and comprising a combination generation module, a data reduction module and a model creation module; wherein the combination generation module is based on the X (X≧2) dithering calculation In the method, the rules of Y(1≦Y≦X-1) algorithms are selected to generate Z algorithm combinations; the data reduction module combines the Z algorithms to represent the pixels in a bit. The image data is subjected to dithering processing, and the image data is converted into Z kinds of decremented image data whose pixels are represented by b bits, wherein 1≦b≦a-1; the model building module prepares a deep nerve Networking, and training the deep neural network with the Z-reduced image data to generate a post-training deep neural network model and a training result for each type of reduced image data, and the training result and an expectation An error in the result, and the Z algorithm is selected The combination of the algorithm corresponding to the minimum error of the Z errors is used as a filter module for data decrement, and the deep neural network model that generates the smallest error among the Z errors is selected as a data identification. model. 如請求項1所述資料減量及建立資料識別模型的電腦系統,其中Y=2,且該資料減量模組以每一種演算法組合中 的其中一種演算法對該影像資料進行抖色處理,而將該影像資料的圖素轉換成由m個位元表示的一第一轉換後影像資料,該資料減量模組並以每一種演算法組合中的其中另一種演算法對該影像資料進行抖色處理,而將該影像資料的圖素轉換成由n個位元表示的一第二轉換後影像資料,且該第一轉換後影像資料與該第二轉換後影像資料構成該減量後影像資料,m+n=b。 A computer system for reducing data and establishing a data identification model as claimed in claim 1, wherein Y=2, and the data reduction module is combined in each algorithm One of the algorithms performs color dithering on the image data, and converts the pixels of the image data into a first converted image data represented by m bits, and the data reduction module is used in each algorithm. Another algorithm in the combination performs color dithering on the image data, and converts the pixels of the image data into a second converted image data represented by n bits, and the first converted image data And the second converted image data constitutes the reduced image data, m+n=b. 如請求項1或2所述資料減量及建立資料識別模型的電腦系統,其中該模型建立模組以每一種轉換後影像資料訓練該深度神經網路的步驟包括:(C1)將該減量後影像資料輸入該深度神經網路,使輸出該訓練結果;(C2)將該訓練結果與該期望結果比較而產生該誤差;(C3)將該誤差輸入該深度神經網路;及(C4)重覆步驟(C1)至(C3)直到該誤差不再變化,則輸出經訓練後的該深度神經網路模型及該誤差。 The computer system for reducing data and creating a data identification model according to claim 1 or 2, wherein the step of the model building module training the deep neural network with each converted image data comprises: (C1) reducing the image after the reduction Data is input to the deep neural network to output the training result; (C2) the training result is compared with the expected result to generate the error; (C3) the error is input to the deep neural network; and (C4) is repeated Steps (C1) to (C3) output the trained deep neural network model and the error until the error no longer changes. 如請求項1所述資料減量及建立資料識別模型的電腦系統,其中該儲存裝置及該處理裝置是整合在同一電腦裝置中,且該儲存裝置是該電腦裝置的一儲存單元,該處理裝置是該電腦裝置的一處理單元。 A computer system for reducing data and establishing a data identification model according to claim 1, wherein the storage device and the processing device are integrated in a same computer device, and the storage device is a storage unit of the computer device, and the processing device is A processing unit of the computer device. 如請求項1所述資料減量及建立資料識別模型的電腦系統,其中該儲存裝置與該處理裝置是透過有線或無線網路電耦接以互相通訊。 A computer system for reducing data and creating a data identification model as claimed in claim 1, wherein the storage device and the processing device are electrically coupled to each other via a wired or wireless network to communicate with each other.
TW107202383U 2018-02-14 2018-02-14 Data reduction and computer system for establishing data identification model TWM567900U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107202383U TWM567900U (en) 2018-02-14 2018-02-14 Data reduction and computer system for establishing data identification model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107202383U TWM567900U (en) 2018-02-14 2018-02-14 Data reduction and computer system for establishing data identification model

Publications (1)

Publication Number Publication Date
TWM567900U true TWM567900U (en) 2018-10-01

Family

ID=64870911

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107202383U TWM567900U (en) 2018-02-14 2018-02-14 Data reduction and computer system for establishing data identification model

Country Status (1)

Country Link
TW (1) TWM567900U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI657346B (en) * 2018-02-14 2019-04-21 倍加科技股份有限公司 Data reduction and method for establishing data identification model, computer system and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI657346B (en) * 2018-02-14 2019-04-21 倍加科技股份有限公司 Data reduction and method for establishing data identification model, computer system and computer-readable recording medium

Similar Documents

Publication Publication Date Title
US9619749B2 (en) Neural network and method of neural network training
EP3469521A1 (en) Neural network and method of neural network training
EP0449516A2 (en) Image processing using neural network
EP3779801A1 (en) Method for optimizing neural network parameter appropriate for hardware implementation, neural network operation method, and apparatus therefor
JPH09163162A (en) Image processing method and device
US20220366539A1 (en) Image processing method and apparatus based on machine learning
KR102247896B1 (en) Convolution neural network parameter optimization method, neural network computing method and apparatus
CN114170331A (en) Image data compression method and system based on artificial intelligence
TWM567900U (en) Data reduction and computer system for establishing data identification model
TWI657346B (en) Data reduction and method for establishing data identification model, computer system and computer-readable recording medium
CN110047077A (en) A kind of image processing method for ether mill common recognition mechanism
WO2022194345A1 (en) Modular and learnable image signal processor
CN113055546A (en) System and method for processing images
JP6355321B2 (en) Image processing apparatus, image processing method, and program
CN113743012B (en) Cloud-edge collaborative mode task unloading optimization method under multi-user scene
JP2016066986A5 (en)
WO2021256135A1 (en) Control device, method, and program
JP2016064634A5 (en)
WO2019142242A1 (en) Data processing system and data processing method
CN111402121A (en) Image style conversion method and device, computer equipment and storage medium
CN111145306A (en) Picture processing method and device, electronic equipment and computer readable storage medium
US11954826B2 (en) Lossless representation of high dynamic range (HDR) images for neural network inferencing
JP7280215B2 (en) Learning method, device and program
JP7453900B2 (en) Learning method, image conversion device and program
Su et al. Medical image noise reduction using cellular neural networks