自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 opev cmake error cannot read version解决

cmake .. 报错version.hpp does not exist.解决方法:确保安装路径下没有中文,重装一遍重启解决.

2022-05-23 15:31:01 379

原创 BERT-base 模型关于tensorflow版本不匹配问题

tensorflow高版本适配低版本解决方法IDE: PyCharmtf版本: 2.9运行bert模型出现报错module 'tensorflow._api.v2.train' has no attribute 'Optimizer'根本原因是tensorflow 1的版本与2不适配将class AdamWeightDecayOptimizer(tf.train.Optimizer)改为module 'tensorflow._api.v2.train' has no a

2022-05-21 18:39:18 720 1

原创 Sentiment analysis of Weibo short text based on attention mechanism and BERT model

Sentiment analysis of Weibo short textbased on attention mechanism andBERT modelChunyu JiaoCCNU Artificial Intelligence AcademyWuhan, China1060023370@qq.comAbstract—With the gradual development of deep learning..

2022-01-10 19:54:06 397

原创 读取csv文件错误

读取文件时遇到和列数不对应的行,此时会报错。若报错行可以忽略,则添加以下参数:样式:pandas.read_csv(***,error_bad_lines=False)你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。新的改变我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:全新的界

2021-04-21 19:55:57 976

原创 Oracle数据库练习题

综合练习题1-1写一个sql,从这个dw.sq_grbm中取值,输出格式:grbm。要求取值结果以当前年月日开头+sequence。如:20140412-100001selectto_char(sysdate,'yyyymmdd')||'-'||dw.sq_grbm.nextvalgrbmfromdual查询姓张的病人姓名和出生年份。输出格式:xm,csnfselecta.xm, to_char(a.csrq, 'yyyy') csnffromdw.per_...

2020-07-03 14:43:46 1132

原创 java笔试题综合练习题

一、笔试题1、写出下列程序的运行结果public static voidmain(String args[]) {int i;inta[] = { 1, 3, 5, 7, 9, 8, 6, 4, 2 };for(i = 0; i<= a.length/ 2; i++) {System.out.print(a[i] + a[a.length- i - 1] + " ");}System.out.println();}3 7 11 15 18 2...

2020-06-30 10:36:44 1207

原创 java综合练习题1

编写一段程序,要求打印出一段时时间内的闰年年份(while循环)publicstaticvoidmain(String agrs[]) {inti=2010;while(i<2020){if((i% 4 == 0 && i % 100 != 0) ||i % 400 == 0)System.out.println(i+"是闰年");elseSystem.out.println(i+"不是闰年");i=...

2020-06-30 10:35:18 859

原创 程序异常练习题

程序异常练习题一、读程序:1、写出下列程序的运行结果public class Test{public static void main(String agrs[]) {String[] arr = new String[3];try {System.out.print("arr[3]=" + arr[3]);} catch (Exception ae) {System.out.println("警告:出现异常!");}...

2020-06-29 14:41:28 451

原创 常用类库练习题

常用类库练习题一、编程:1、根据要求编写代码String str=“abcsabadfba”,判断“ba”在str中出现的位置和次数publicstaticvoidmain(String agrs[]) {String str="abcsabadfba";String a="ba";System.out.println("第一次出现的位置:"+str.indexOf(a));System.out.println("第二次出现的位置:"+s...

2020-06-29 14:26:29 419

原创 面向对象练习题

一、读程序1、写出下列代码的执行结果class FatherClass{public FatherClass() {System.out.println("FatherClass Create;");}}public class Test extends FatherClass{public Test() {System.out.println("ChildClass Create;");}public static void ...

2020-06-29 12:46:41 1707

原创 Java创建动物类animal,以及其子类

(1)创建动物类animal具有属性体重具有方法移动(move)和睡觉(sleep)移动时输出“animal moving”睡觉上输出“animal sleepping”publicclassAnimal {intweight;publicvoidmove(){System.out.println("animal moving");}publicvoidsleep(){System.out.println("animal slepping");...

2020-06-29 11:22:28 16279 1

原创 java数组练习题

数组练习题一、读程序1、写出下列代码的执行结果public static void main(String args[]) {int i;int a[] = { 1, 3, 5, 7, 9, 8, 6, 4, 2 };for (i = 0; i<= a.length / 2; i++) {System.out.print(a[i] + a[a.length - i - 1] + " ");}System.out.println();...

2020-06-28 15:55:11 494

原创 java       循环控制语句练习题

循环控制语句练习题一、读程序1、写出下列代码的执行结果public static void main(String[] args) {int num = 59;switch (num++ / 10) {case 1:System.out.println("1");case 2:System.out.println("2");case 3:System.out.println("3");...

2020-06-28 15:19:52 2413

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除