当前位置:网站首页>Error reporting [project error reporting]
Error reporting [project error reporting]
2022-07-24 15:19:00 【hei_ hei_ hei_】
No module named ‘XXX’
reason : No libraries installed
solve :
pip install XXX
ModuleNotFoundError: No module named utils.util utils is not a package
explain :utils It's a library written by myself , Import the modules in your library , Need to be in utils Create a new folder named __init__.py file
TensorBoard logging requires TensorBoard with Python summary writer installed. This should be available in 1.14 or above.
reason : No installation tensorboard
solve :
pip install tensorboard
No module named ‘past’
solve : install future modular
pip install future
Remote file /home/chenkaixuan/projects/ is mapped to the local path D:\PycharmProjects\D-LSG-Video-Caption-main\ and can’t be found. You can continue debugging, but without the source.
- explain : long-range debug When next step Then this interface appears , Then jump to a file several times data.py, I think there is a repetition when importing the Library ( Guess only )
- solve : Regardless of him , continue debug That's it
OSError: Unable to open file (truncated file: eof = 724698112, sblock->base_addr = 0, stored_eof = 15142273088)
- The background that : After changing some network codes , Re execution train_debug.py There is such an error reading the file . Implemented before modification , There is no wrong report .
- Error reason : I found it on the Internet , Roughly speaking , Downloaded files before , It didn't download successfully , Cause error in reading file . When I think of changing the network , There are files that are not automatically uploaded to the server , So I was silly and uploaded the project again , But the data is too large, which leads to slow uploading, and I think I can upload the changed files separately , So the upload was canceled in the middle , This may be the cause of file download errors .
- solve : Upload the project or data again
UserWarning: This overload of nonzero is deprecated
- Error reason : Version of the problem , Use
torch.nonzero()It is better to addas_tuple=True/FalseParameters . If True, Said to return to tuple,False return tensor. Generally speaking, we all need to return tensor Of . - solve :
torch.nonzero(input, as_tuple = False)
127.0.0.1 Access denied
- The background that :3 Use in the month PyCharm After the remote connection server runs, the code is opened tensorboard, It's normal . Today, I changed part of the code ( Mainly the network part ) All of a sudden 127.0.0.1 Access denied , And there was no response when opening the tunnel , Cannot be opened , Performance in Start/Stop The button below doesn't respond after clicking

- solve :
(1) Violence : Close the tunnel , Build a new one . That is, when resetting the environment, it is found that the port number of the server needs to be filled in the configuration , I think the port number of the server has changed since the last tunnel was established , Lead to tensorboard Can't connect to the server .
(2) Reset the connection settings .
边栏推荐
- 2022 robocom world robot developer competition - undergraduate group (provincial competition) rc-u4 strategy team (completed)
- Rest style
- spark:获取日志中每个时间段的访问量(入门级-简单实现)
- 老虎口瀑布:铜梁版小壶口瀑布
- 26.文件使用磁盘的代码实现
- pytorch with torch.no_grad
- Which securities company is good at opening an account with flush? Excuse me, is it safe to open an account with mobile phone or stock?
- 做好架构设计离不开SOLID五大原则
- 2022 robocom world robot developer competition - undergraduate group (provincial competition) -- fifth question tree and bipartite diagram (completed)
- 27.目录与文件系统
猜你喜欢

27. Directory and file system

使用 Fiddler Hook 报错:502 Fiddler - Connection Failed

什么是防火墙?防火墙能发挥什么样的作用?

onBlur和onChange冲突解决方法

Fastjson code execution cve-2022-25845

How vscode debug nodejs

JMeter - call the interface for uploading files or pictures

Unity 使用NVIDIA FleX for Unity插件实现制作软体、水流流体、布料等效果学习教程

【USENIX ATC'22】支持异构GPU集群的超大规模模型的高效的分布式训练框架Whale

Sword finger offer II 001. integer division
随机推荐
DS binary tree - parent and child nodes of binary tree
Discussion and legitimacy of the order of entering and leaving the stack
XOR procedure
2022 robocom world robot developer competition - undergraduate group (provincial competition) CAIP full version solution
Unity uses NVIDIA flex for unity plug-in to realize the effects of making software, water, fluid, cloth, etc. learning tutorial
Detailed explanation of document operation
24.原生磁盘的使用
How do novices buy stocks for the first time? Which securities company is the best and safest to open an account
Analysis of some difficulties in VAE (variational self encoder)
Date class and time class definitions (operator overload application)
2022 RoboCom 世界机器人开发者大赛-本科组(省赛) CAIP 完整版题解
Explain the edge cloud in simple terms | 2. architecture
pytorch with torch.no_grad
MongoDB入门学习
Self join usage of SQL
文件操作详解
哈夫曼树(最优二叉树)
spark学习笔记(三)——sparkcore基础知识
Existence form and legitimacy of real data in C language (floating point number)
Wildfire STM32 domineering, through the firmware library to achieve water light