- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 Pycharm运行程序时总是以测试run pytest
用了Pycharm这么多年,今天一个恶心的小bug浪费了我一个上午,服务器上别的.py都能顺利run,但是我的主文件只能run pytest....直接在服务器当前目录下新建.py,然后发现新建的可以直接run,那我直接把原先主文件的code复制过来就好了 笑死我了。改完之后发现主文件还是只能run pytest,服务器重新上.py传依旧无效,test模式似乎跳不出来了...ps:上传完文件后 先导入虚拟环境,下面开始解决。
2026-03-30 16:28:28
96
原创 dgl安装报错Could not find module ‘xxx\dgl\dgl.dll‘ (or one of its dependencies). Try using the full path
最近在搞GNN的东西,需要下载dgl的包,安装的过程才发现这个包比普通的包难装一百倍!沃日塔玛,网上的博客教程很多,不过很乱还报错,现在把这次按照过程记录下来,希望帮助大家也方便日后我自己查看。我安装torchdata 0.6.0版本,自动给我torch 2.2.1+cu118的版本回退到torch2.0.0了,逆天包?在我之前import dgl过程中系统提示我缺少torchdata的包,这个包恶心的很啊,torchdata安装过程直接把我torch版本会被自动改了,gpu版本都给我自动更新没了😡😡?
2025-07-25 19:42:57
853
1
原创 ValueError: The initializer passed is not valid. It should be a callable with no arguments and the s
已解决:ValueError: The initializer passed is not valid. It should be a callable with no arguments and the shape should not be provided or an instance of `tf.keras.initializers.*' and `shape` should be fully defined.
2024-04-03 18:58:33
683
1
原创 已解决Errors may have originated from an input operation.Input Source operations connected to node d_:
已解决Errors may have originated from an input operation.Input Source operations connected to node d_: 已解决During handling of the above exception, another exception occurred:
2024-03-28 22:37:17
952
1
原创 hickle.fileio.FileError: ‘file_obj‘ must be a valid path string, pahtlib.Path, h5py.File, h5py.Group
已解决!报错原因:hickle.fileio.FileError: 'file_obj' must be a valid path string, pahtlib.Path, h5py.File, h5py.Group, h5py.Dataset, file or file like object'
2024-03-09 15:24:34
602
1
原创 Matlab求拉普拉斯变换和拉普拉斯反变换
利用Matlab求拉普拉斯变换和拉普拉斯反变换,实现象函数F(s)和原函数f(t)之间的转换(本文小白所写,有问题还望各位大佬不吝赐教及时指出)
2022-04-24 09:49:28
50294
matlab实现数独游戏设计
2022-06-13
java编程实现24点游戏设计,通过完整图形界面显示,每次随机给出题目,并对每次作答时间及正确率给出分数
2022-06-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅