logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

PAT 甲级 1034 Head of a Gang (并查集)(c++版)(python版)(附代码注释)

1034 Head of a Gang (30 分)文章目录题目题意分析知识点与坑点一、并查集算法思路代码-c++版代码-python版题目题目链接:https://pintia.cn/problem-sets/994805342720868352/problems/994805456881434624One way that the police finds the head of a ...

#c++#python
ValueError: You cannot build your model by calling `build` if your layers do not support float type

文章目录问题原因解决问题tensorflow 2.2 要build一个模型,代码如下:model = GCN(UNITS) # 实例化一个模型# out = model([x,a])# print(out)model.build(input_shape=(None,FEATURE)) # 指定模型的输入形状出现错误提示:ValueError: You cannot build your model

ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly

文章目录问题原因解决问题安装pandas: pip install pandas ,后台自动下载pandas 0.22.0版本;然后出错....----------------------------------------ERROR: Failed building wheel for pandasRunning setup.py clean for pandasFailed to build

File ended while scanning use of l writefile

文章目录问题解决方案问题tex在编译文件时,出现以下提示:解决方案把除开tex,bib,sty(有的人说要删除)之外的文件全部删除,重新再编译一次即可。

PAT甲级-1003 Emergency (25)(25 分)-图之最短路径

1003 Emergency (25)(25 分)As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities【点】 connected by some roads【边】. Amount of resc

pycharm :让所选中的代码缩进-Tab

代码编写过程中,有时候想让某部分代码成为循环或者条件判断的内部代码,则可以选中该部分代码,按下Tab键,这样所有选中代码都会进行缩进,从而成为内部代码。...

#pycharm
python爬虫-爬取当当网书籍信息存到Excel中

文章目录一、任务二、分析(一)、单页面的信息分析源代码分析目标信息定位与分析代码设计(二)、所有目标页面链接分析目标链接分析代码设计三、注意要点四、完整代码五、参考一、任务获取当当网上至少300本书【均为某类书,如python相关的书籍,或概率论相关的书籍】的信息,包括书名,网址,价格,作者,并存在excel表格中。二、分析(一)、单页面的信息分析源代码分析在当当网的搜索框输入“pyt...

#python#爬虫
虚拟机上的hadoop localhost:8088,localhost:50070均不能访问

文章目录问题原因解决方案经验问题用虚拟机安装ubuntu,在上面装hadoop,配置完所有文件后,jps,可以看到主机和其他节点了,想要访问http://localhost:50070/,http://localhost:8088/,但两个都不能访问原因找了很多文章,有的说是防火墙没关闭,但我的防火墙是关闭的:sudo ufw status。有的说要修改yarn的配置文件,我没修改,因为...

Line2D-matplotlib-python

Line2D亲自试一试:http://kakazai.cn/index.php/Kaka/Python/query/name/Line2D所属模块:matplotlib功能:画直线实例1:画直线#!/usr/bin/3#code-(3.6)from matplotlib.lines import Line2Dimport matplotlib.pyplot as pltfig ...

智能交通的深度学习综述-基于图卷积神网络

文章目录Abstract and IntroductionRelated WorkProblems, Research directions, ChallengesProblems formulation and Graph constructionDeep Learning techniques perspective论文地址:论文作者:Jiexia Ye, Juanjuan Zhao, Kej

#深度学习
    共 27 条
  • 1
  • 2
  • 3
  • 请选择