当前位置:网站首页>【解决】每次加载已经训练好的模型,生成的向量会有不同
【解决】每次加载已经训练好的模型,生成的向量会有不同
2022-06-10 13:40:00 【dream_uping】
这是因为系统在每次加载已经训练好的模型之后,针对同样的语句会生成不用的向量。
解决办法就是,在系统加载一次之后。通过for循环,依次输入自己的语句。这样的也是符合本实验的应用场景的。
就是 仅加载一次模型,使用很多次!
结果示意:

边栏推荐
- New features mail GPU counter module adds GPU primitive processing and GPU shader cycles
- [deep learning 05] cross entropy loss function
- [FAQ] résumé des problèmes courants et des solutions lors de l'utilisation de l'interface API rest du Service de santé sportive
- Tablayout usage details (modify text size, underline style, etc.)
- Let resources flow freely in the cloud and locally
- [Huang ah code] Why is php7 twice as fast as PHP5?
- 五角大楼首次承认资助46个乌生物设施 俄方曾曝只有3个安全
- Leetcode 829. Sum of continuous integers
- 【云计算】多云管理平台和公有云两者之间是啥关系?
- Markdown sets the font to red
猜你喜欢

Use of 5.8G microwave radar module, working principle and introduction of 5.8G microwave radar module
![[note] the environment for setting up get injectedthread script supplemented by shellcode in Windows Security III and its use](/img/b4/f7838a7e12379190e2bc9b869839f0.png)
[note] the environment for setting up get injectedthread script supplemented by shellcode in Windows Security III and its use

Multithreading killer ---countdownlatch & cyclicbarrier

【云计算】多云管理平台和公有云两者之间是啥关系?

MMdetection增加评估指标precision

CentOS Linux 已死!Oracle Linux 可能是它的更好替代品

软件智能:aaas系统 度量衡及文法的形式规则

Mmdetection adds precision to the evaluation index

How to locate the hot problem of the game

解决跨海高并发崩溃难题?so easy
随机推荐
新功能|Mail GPU Counter模块新增GPU图元处理和GPU Shader Cycles
What does the multi cloud management platform CMP mean? Who can explain it clearly
typescript入门笔记(个人用)
[operation tutorial] how to correctly use the Hikvision demo tool to configure the channel to go online?
MMdetection增加评估指标precision
What happened when the legendary login prompt failed to connect to the server? How to solve it?
Google Earth engine (GEE) - real time global 10 meter land use / land cover (LULC) data set based on S2 images
智慧校园安全通道及视频监控解决方案
Qt: 访问其他窗体中的控件
【抬杠C#】如何实现接口的base调用
What are the common automated test frameworks? Shanghai software testing company Amway
Typescript introductory notes (personal)
2022 high frequency software test interview questions of large factories (with answers)
Talk about message oriented middleware (1) and AMQP
Solve the problem of cross sea high concurrent crash? so easy
Ten easy-to-use cross browser testing tools to share, good things worth collecting
数码管驱动芯片+语音芯片的应用场景介绍,WT588E02B-24SS
将anaconda的bin目录加入PATH
解决跨海高并发崩溃难题?so easy
[raise bar C #] how to call the base of the interface