[go: up one dir, main page]

CN113033680A - Video classification method and device, readable medium and electronic equipment - Google Patents

Video classification method and device, readable medium and electronic equipment Download PDF

Info

Publication number
CN113033680A
CN113033680A CN202110349114.7A CN202110349114A CN113033680A CN 113033680 A CN113033680 A CN 113033680A CN 202110349114 A CN202110349114 A CN 202110349114A CN 113033680 A CN113033680 A CN 113033680A
Authority
CN
China
Prior art keywords
label
video
classification
classification model
target
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202110349114.7A
Other languages
Chinese (zh)
Other versions
CN113033680B (en
Inventor
杜正印
李伟健
王长虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
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 Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202110349114.7A priority Critical patent/CN113033680B/en
Publication of CN113033680A publication Critical patent/CN113033680A/en
Application granted granted Critical
Publication of CN113033680B publication Critical patent/CN113033680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/75Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a video classification method, a video classification device, a readable medium and an electronic device, wherein the method comprises the following steps: acquiring a classification label of a target video as a first label; under the condition that the playing times are higher than a first preset playing amount threshold value, determining a predicted label of a target video as a second label through a first video classification model trained in advance; and determining the classification label of the target video as the second label under the condition that the second label is not the same as the first label. Therefore, after the playing frequency is higher than the first preset playing amount threshold, video classification labels of the target videos can be predicted again in a mode different from that of determining the first labels, so that second labels of the target videos are obtained, and then the video classification labels to which the target videos belong are corrected according to the second labels, so that the accuracy of the classification labels of the target videos with higher playing frequency can be guaranteed, and the accuracy of the classification labels of the target videos with higher playing frequency is improved.

Description

Video classification method and device, readable medium and electronic equipment
Technical Field
The present disclosure relates to the field of video technologies, and in particular, to a video classification method, an apparatus, a readable medium, and an electronic device.
Background
In the prior art, when the labels of the videos in each platform are classified, only one classification mode is usually adopted, for example, a machine learning model trained in advance, however, the types of videos in the current video platform are too many, the contents are too complicated, and only the machine learning model trained in advance is used, so that a good classification effect on various types of videos is difficult to achieve.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a video classification method, including:
acquiring a classification label of a target video as a first label;
under the condition that the playing times are higher than a first preset playing amount threshold value, determining a predicted label of the target video as a second label through a first video classification model trained in advance;
determining the classification label of the target video as the second label if the second label is not the same label as the first label.
In a second aspect, the present disclosure provides a video classification apparatus, the apparatus comprising:
the acquisition module is used for acquiring a classification label of a target video as a first label;
the determining module is used for determining a predicted label of the target video as a second label through a pre-trained first video classification model under the condition that the playing times is higher than a first preset playing amount threshold;
and the correction module is used for determining the classification label of the target video as the second label under the condition that the second label is not the same as the first label.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method of the first aspect.
In a fourth aspect, the present disclosure provides an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method of the first aspect.
Through the technical scheme, the video classification label can be determined for the video without the playing frequency information or the video with the less playing frequency in any video classification mode, for example, the mode of the second video classification model, so that the corresponding video label can be obtained for any video to serve as the first label; after the playing frequency is higher than the first preset playing amount threshold, the video classification label of the target video can be predicted again in a different manner from that of determining the first label, for example, the second label of the target video is obtained by determining through the first video classification model, and then the video classification label to which the target video belongs is corrected according to the second label, so that the accuracy of the classification label of the target video with higher playing frequency can be ensured.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
fig. 1 is a flowchart illustrating a video classification method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a video classification method according to still another exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a method of training the first video classification model in a video classification method according to yet another exemplary embodiment of the present disclosure.
Fig. 4 is a block diagram illustrating a structure of a video classification apparatus according to an exemplary embodiment of the present disclosure.
FIG. 5 illustrates a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart illustrating a video classification method according to an exemplary embodiment of the present disclosure. As shown in fig. 1, the method includes steps 101 to 103.
In step 101, a classification tag of a target video is acquired as a first tag. The target video may be any form of video that requires tag classification. For example, the short video published by the user in the short video platform may be used, or the long video published by the user in other video platforms may be used.
In step 102, in a case that the playing times are higher than a first preset playing amount threshold, determining a predicted label of the target video as a second label through a first video classification model trained in advance.
The playing times can be determined according to the time recording rules of different video platforms, and the specific determination method of the playing times is not limited in the application.
When the playing time is higher than the first preset playing amount threshold, it may be characterized that the playing time of the target video is higher, that is, the first preset playing amount threshold may be used to screen out the target video with higher playing time as the video for predicting the second tag.
The first video classification model for determining the second label may be any video classification model as long as the prediction label of the target video is obtained.
In step 103, in the case that the second label is not the same label as the first label, the classification label of the target video is determined as the second label.
And performing secondary label prediction on the target video with higher playing times, thereby improving the label accuracy of the target video with higher playing times.
The classification label as the first label of the target video may be a classification label determined by any means. For example, by the method shown in fig. 2.
Fig. 2 is a flowchart illustrating a video classification method according to still another exemplary embodiment of the present disclosure. As shown in fig. 2, the method further includes step 201 and step 202.
In step 201, determining the classification label of the target video through a second video classification model;
in step 202, the classification label of the target video is taken as a first label.
The second video classification model and the first video classification model are different video classification models. Different video classification models obtained by training different training samples of the models, different video classification models obtained by different adopted video classification methods, different video classification models obtained by different adopted neural networks, and the like can be obtained as long as the different video classification models are not the same as the first video classification model.
In one possible embodiment, the training data of the second video classification model may be sample videos with play times and/or without play times. That is, the training data of the second video classification model is random labeling data.
Through the technical scheme, the video classification label can be determined for the video without the playing frequency information or the video with the less playing frequency in any video classification mode, for example, the mode of the second video classification model, so that the corresponding video label can be obtained for any video to serve as the first label; after the playing frequency is higher than the first preset playing amount threshold, the video classification label of the target video can be predicted again in a different manner from that of determining the first label, for example, the second label of the target video is obtained by determining through the first video classification model, and then the video classification label to which the target video belongs is corrected according to the second label, so that the accuracy of the classification label of the target video with higher playing frequency can be ensured.
In another possible implementation manner, the training data of the first video classification model is a sample video with a playing time higher than a second preset playing amount threshold. That is, when the first video classification model is trained, all the adopted training video data are sample videos with high playing amount. In this way, the effect of the machine learning model is influenced by the data distribution, and the machine learning model can only be learned on a certain fixed distribution, so the machine learning model is most effective on a distribution similar to the training set. Therefore, the first video classification model can have a better effect on the label prediction of the target video with the playing times higher than the second preset playing amount threshold value by limiting the playing time distribution of the training data of the first video classification model.
For example, the applicant finds that in most short video platforms, if a plurality of short videos uploaded for a fixed duration are played at different playing times, the distribution of the video contents of the short videos is greatly different, for example, in videos with lower playing times, the video contents are single and the information content is not high along with the fact that the video is shot at a high ratio, and in videos with higher playing times, the content occupation ratio of drama with higher information content, knowledge science popularization and the like is remarkably improved. There is a certain difference in video content between different play times distributions. Therefore, if the threshold of the training data for training the first video classification model is defined according to the playing times, the classification prediction performance of the first video classification model obtained through training in the target video in the distribution of which the playing times are higher than the first preset playing amount threshold can be better, and the accuracy is higher.
The first preset playing amount threshold and the second preset playing amount threshold may be set to be completely the same according to practical applications, or two similar different thresholds, as long as the effect of the first video classification model on the classification and prediction of the tags of the target video with the interference higher than the first preset playing amount threshold is achieved, which is better than the effect of predicting the classification of the first tag of the target video. For example, the second preset playing amount threshold may be set to be relatively lower than the first preset playing amount threshold, and it is sufficient to ensure that the playing times higher than the first preset playing amount threshold are all included in the playing times higher than the second preset playing amount threshold, and the specific value is set without limitation in this disclosure.
Fig. 3 is a flowchart illustrating a method of training the first video classification model in a video classification method according to yet another exemplary embodiment of the present disclosure. As shown in fig. 3, the method includes steps 301 to 303.
In step 301, a sample video with the playing time higher than the second preset playing amount threshold is obtained. The playing times can be determined according to the playing time recording rules of different video platforms.
In step 302, class label labeling is performed on the sample video. The manner of labeling the sample video with the classification label can be manually labeled. When the first label of the target video is determined by the second video classification model, for example, the classification label of each sample video in the training data of the second video classification model may be manually labeled.
In step 303, model training is performed on the first video classification model through the sample video labeled with the classification label.
Fig. 4 is a block diagram illustrating a structure of a video classification apparatus according to an exemplary embodiment of the present disclosure. As shown in fig. 4, the apparatus includes: an obtaining module 10, configured to obtain a classification tag of a target video as a first tag; a determining module 20, configured to determine, through a first video classification model trained in advance, a predicted tag of the target video as a second tag when the playing time is higher than a first preset playing amount threshold; a modification module 30, configured to determine the classification label of the target video as the second label if the second label is not the same as the first label.
Through the technical scheme, the video classification label can be determined for the video without the playing frequency information or the video with the less playing frequency in any video classification mode, for example, the mode of the second video classification model, so that the corresponding video label can be obtained for any video to serve as the first label; after the playing frequency is higher than the first preset playing amount threshold, the video classification label of the target video can be predicted again in a different manner from that of determining the first label, for example, the second label of the target video is obtained by determining through the first video classification model, and then the video classification label to which the target video belongs is corrected according to the second label, so that the accuracy of the classification label of the target video with higher playing frequency can be ensured.
In a possible implementation manner, the training data of the first video classification model is a sample video with a playing time higher than a second preset playing amount threshold.
In one possible embodiment, the first video classification model is trained by: acquiring a sample video with the playing times higher than the second preset playing amount threshold; performing classification label labeling on the sample video; and performing model training on the first video classification model through the sample video marked with the classification label.
In a possible implementation, the acquisition module 10 comprises: the first obtaining submodule is used for determining the classification label of the target video through a second video classification model; and the second obtaining submodule is used for taking the classification label of the target video as the first label.
In a possible embodiment, the training data of the second video classification model is a sample video with and/or without play times.
Referring now to FIG. 5, a block diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the communication may be performed using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a classification label of a target video as a first label; under the condition that the playing times are higher than a first preset playing amount threshold value, determining a predicted label of the target video as a second label through a first video classification model trained in advance; determining the classification label of the target video as the second label if the second label is not the same label as the first label.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases constitute a limitation of the module itself, and for example, the acquiring module may also be described as a "module that acquires a classification tag of a target video as a first tag".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Example 1 provides a video classification method according to one or more embodiments of the present disclosure, the method including: acquiring a classification label of a target video as a first label; under the condition that the playing times are higher than a first preset playing amount threshold value, determining a predicted label of the target video as a second label through a first video classification model trained in advance; determining the classification label of the target video as the second label if the second label is not the same label as the first label.
Example 2 provides the method of example 1, and the training data of the first video classification model is a sample video with a play time higher than a second preset play amount threshold.
Example 3 provides the method of example 2, the first video classification model being trained by: acquiring a sample video with the playing times higher than the second preset playing amount threshold; performing classification label labeling on the sample video; and performing model training on the first video classification model through the sample video marked with the classification label.
Example 4 provides the method of example 1, wherein the obtaining the classification label of the target video as the first label includes: determining the classification label of the target video through a second video classification model; and taking the classification label of the target video as a first label.
Example 5 provides the method of example 4, wherein the training data of the second video classification model is sample video with and/or without play times.
Example 6 provides, in accordance with one or more embodiments of the present disclosure, a video classification apparatus, the apparatus comprising: the acquisition module is used for acquiring a classification label of a target video as a first label; the determining module is used for determining a predicted label of the target video as a second label through a pre-trained first video classification model under the condition that the playing times is higher than a first preset playing amount threshold; and the correction module is used for determining the classification label of the target video as the second label under the condition that the second label is not the same as the first label.
Example 7 provides the apparatus of example 6, in accordance with one or more embodiments of the present disclosure, wherein the training data of the first video classification model is a sample video with a play count higher than a second preset play amount threshold.
Example 8 provides the apparatus of example 7, the first video classification model being trained by: acquiring a sample video with the playing times higher than the second preset playing amount threshold; performing classification label labeling on the sample video; and performing model training on the first video classification model through the sample video marked with the classification label.
Example 9 provides a computer readable medium having stored thereon a computer program that, when executed by a processing apparatus, performs the steps of the method of any of examples 1-5, in accordance with one or more embodiments of the present disclosure.
Example 10 provides, in accordance with one or more embodiments of the present disclosure, an electronic device comprising: a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to carry out the steps of the method of any of examples 1-5.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (10)

1.一种视频分类方法,其特征在于,所述方法包括:1. a video classification method, is characterized in that, described method comprises: 获取目标视频的分类标签作为第一标签;Obtain the classification label of the target video as the first label; 在所述播放次数高于第一预设播放量阈值的情况下,通过预先训练好的第一视频分类模型确定所述目标视频的预测标签作为第二标签;In the case that the number of playbacks is higher than the first preset playback volume threshold, determining the predicted label of the target video as the second label by using the pre-trained first video classification model; 在所述第二标签与所述第一标签不为同一标签的情况下,将所述目标视频的分类标签确定为所述第二标签。In the case that the second label and the first label are not the same label, the classification label of the target video is determined as the second label. 2.根据权利要求1所述的方法,其特征在于,所述第一视频分类模型的训练数据为播放次数高于第二预设播放量阈值的样本视频。2 . The method according to claim 1 , wherein the training data of the first video classification model is a sample video with a playback frequency higher than a second preset playback volume threshold. 3 . 3.根据权利要求2所述的方法,其特征在于,所述第一视频分类模型通过以下方法进行训练:3. The method according to claim 2, wherein the first video classification model is trained by the following methods: 获取所述播放次数高于所述第二预设播放量阈值的样本视频;Obtain sample videos whose playback times are higher than the second preset playback volume threshold; 对所述样本视频进行分类标签标注;classifying and labeling the sample video; 通过带有所述分类标签标注的所述样本视频对所述第一视频分类模型进行模型训练。Model training is performed on the first video classification model by using the sample videos marked with the classification labels. 4.根据权利要求1所述的方法,其特征在于,所述获取目标视频的分类标签作为第一标签包括:4. The method according to claim 1, wherein the obtaining the classification label of the target video as the first label comprises: 通过第二视频分类模型确定所述目标视频的所述分类标签;Determine the classification label of the target video by a second video classification model; 将所述目标视频的分类标签作为第一标签。The classification label of the target video is used as the first label. 5.根据权利要求4所述的方法,其特征在于,所述第二视频分类模型的训练数据为有播放次数和/或无播放次数的样本视频。5 . The method according to claim 4 , wherein the training data of the second video classification model is a sample video with and/or without the number of plays. 6 . 6.一种视频分类装置,其特征在于,所述装置包括:6. A video classification device, wherein the device comprises: 获取模块,用于获取目标视频的分类标签作为第一标签;an acquisition module, used to acquire the classification label of the target video as the first label; 确定模块,用于在所述播放次数高于第一预设播放量阈值的情况下,通过预先训练好的第一视频分类模型确定所述目标视频的预测标签作为第二标签;A determination module, configured to determine the predicted label of the target video as the second label by using the pre-trained first video classification model when the number of times of playback is higher than the first preset playback volume threshold; 修正模块,用于在所述第二标签与所述第一标签不为同一标签的情况下,将所述目标视频的分类标签确定为所述第二标签。A correction module, configured to determine the classification label of the target video as the second label when the second label and the first label are not the same label. 7.根据权利要求6所述的装置,其特征在于,所述第一视频分类模型的训练数据为播放次数高于第二预设播放量阈值的样本视频。7 . The apparatus according to claim 6 , wherein the training data of the first video classification model is a sample video with a playback frequency higher than a second preset playback volume threshold. 8 . 8.根据权利要求7所述的装置,其特征在于,所述第一视频分类模型通过以下方法进行训练:8. The device according to claim 7, wherein the first video classification model is trained by the following method: 获取所述播放次数高于所述第二预设播放量阈值的样本视频;Obtain sample videos whose playback times are higher than the second preset playback volume threshold; 对所述样本视频进行分类标签标注;classifying and labeling the sample video; 通过带有所述分类标签标注的所述样本视频对所述第一视频分类模型进行模型训练。Model training is performed on the first video classification model by using the sample videos marked with the classification labels. 9.一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理装置执行时实现权利要求1-5中任一项所述方法的步骤。9. A computer-readable medium on which a computer program is stored, characterized in that, when the program is executed by a processing device, the steps of the method according to any one of claims 1-5 are implemented. 10.一种电子设备,其特征在于,包括:10. An electronic device, comprising: 存储装置,其上存储有计算机程序;a storage device on which a computer program is stored; 处理装置,用于执行所述存储装置中的所述计算机程序,以实现权利要求1-5中任一项所述方法的步骤。A processing device, configured to execute the computer program in the storage device, so as to implement the steps of the method of any one of claims 1-5.
CN202110349114.7A 2021-03-31 2021-03-31 Video classification method and device, readable medium and electronic equipment Active CN113033680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110349114.7A CN113033680B (en) 2021-03-31 2021-03-31 Video classification method and device, readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110349114.7A CN113033680B (en) 2021-03-31 2021-03-31 Video classification method and device, readable medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113033680A true CN113033680A (en) 2021-06-25
CN113033680B CN113033680B (en) 2024-07-09

Family

ID=76453322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110349114.7A Active CN113033680B (en) 2021-03-31 2021-03-31 Video classification method and device, readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113033680B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114786069A (en) * 2022-04-22 2022-07-22 北京有竹居网络技术有限公司 Video generation method, device, medium and electronic equipment
CN115358304A (en) * 2022-08-10 2022-11-18 北京有竹居网络技术有限公司 Training method of label generation model, label generation method and related equipment
CN115455234A (en) * 2022-09-15 2022-12-09 北京有竹居网络技术有限公司 Video label generation method, device, equipment and medium
CN115883880A (en) * 2022-12-16 2023-03-31 广州市影擎电子科技有限公司 VR video playing control method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055617A (en) * 2016-05-26 2016-10-26 乐视控股(北京)有限公司 Data pushing method and device
CN108259672A (en) * 2018-01-30 2018-07-06 努比亚技术有限公司 A kind of processing method of multimedia content, terminal and computer storage media
CN109088987A (en) * 2018-07-26 2018-12-25 阿里巴巴集团控股有限公司 A kind of audio and video playing method, apparatus and electronic equipment
CN109361929A (en) * 2018-09-28 2019-02-19 武汉斗鱼网络科技有限公司 A kind of method and relevant device of determining direct broadcasting room label
CN110113638A (en) * 2019-05-10 2019-08-09 北京奇艺世纪科技有限公司 A kind of prediction technique, device and electronic equipment
CN112261226A (en) * 2020-10-21 2021-01-22 北京字跳网络技术有限公司 Horizontal screen interaction method, device, electronic device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055617A (en) * 2016-05-26 2016-10-26 乐视控股(北京)有限公司 Data pushing method and device
CN108259672A (en) * 2018-01-30 2018-07-06 努比亚技术有限公司 A kind of processing method of multimedia content, terminal and computer storage media
CN109088987A (en) * 2018-07-26 2018-12-25 阿里巴巴集团控股有限公司 A kind of audio and video playing method, apparatus and electronic equipment
CN109361929A (en) * 2018-09-28 2019-02-19 武汉斗鱼网络科技有限公司 A kind of method and relevant device of determining direct broadcasting room label
CN110113638A (en) * 2019-05-10 2019-08-09 北京奇艺世纪科技有限公司 A kind of prediction technique, device and electronic equipment
CN112261226A (en) * 2020-10-21 2021-01-22 北京字跳网络技术有限公司 Horizontal screen interaction method, device, electronic device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114786069A (en) * 2022-04-22 2022-07-22 北京有竹居网络技术有限公司 Video generation method, device, medium and electronic equipment
CN115358304A (en) * 2022-08-10 2022-11-18 北京有竹居网络技术有限公司 Training method of label generation model, label generation method and related equipment
CN115455234A (en) * 2022-09-15 2022-12-09 北京有竹居网络技术有限公司 Video label generation method, device, equipment and medium
CN115883880A (en) * 2022-12-16 2023-03-31 广州市影擎电子科技有限公司 VR video playing control method and system

Also Published As

Publication number Publication date
CN113033680B (en) 2024-07-09

Similar Documents

Publication Publication Date Title
CN113222983A (en) Image processing method, image processing device, readable medium and electronic equipment
CN113033680A (en) Video classification method and device, readable medium and electronic equipment
CN109961032B (en) Method and apparatus for generating classification model
CN114494709B (en) Method for generating feature extraction model, method and device for extracting image features
CN113033682A (en) Video classification method and device, readable medium and electronic equipment
CN113222050A (en) Image classification method and device, readable medium and electronic equipment
CN116894188A (en) Business tag set update method, device, medium and electronic equipment
CN111738316A (en) Image classification method and device for zero sample learning and electronic equipment
CN113420723A (en) Method and device for acquiring video hotspot, readable medium and electronic equipment
CN112380883A (en) Model training method, machine translation method, device, equipment and storage medium
CN117633228A (en) Model training methods and devices
CN115294501A (en) Video identification method, video identification model training method, medium and electronic device
CN113140012B (en) Image processing method, device, medium and electronic equipment
CN118965348A (en) Detection method, device, equipment and computer medium applied to program code
CN112488947B (en) Model training and image processing method, device, equipment and computer-readable medium
CN113395538B (en) Sound effect rendering method and device, computer readable medium and electronic equipment
CN113033707A (en) Video classification method and device, readable medium and electronic equipment
CN116204722A (en) Content recommendation method, device, equipment and medium
CN111680754A (en) Image classification method and device, electronic equipment and computer-readable storage medium
CN111209432A (en) Information acquisition method and device, electronic equipment and computer readable medium
CN113240027B (en) Image classification method, device, readable medium and electronic device
CN115269978A (en) Video tag generation method, device, equipment and medium
CN113177176A (en) Feature construction method, content display method and related device
CN114117127A (en) Video generation method and device, readable medium and electronic equipment
CN116127373B (en) Data annotation methods, apparatus, readable media and electronic devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant