当前位置:网站首页>服务器之间传文件夹,文件夹内容为空
服务器之间传文件夹,文件夹内容为空
2022-06-30 17:34:00 【换个名字就很好】
项目背景
目标检测,两个框项目。
通过热成像txt文件生成热图,检测乳房和腹部的位置。
只处理用户的正面热成像txt文件。
从其他服务器获取,某个人的文件夹,改文件夹下有该用户的正面热成像图的txt文件一份。
遇到的问题
收到的文件夹内容为空。
具体地,某个用户的文件夹下没有任何文件。
文件夹是从其他服务器传过来的。
原因
可能是,内容正在传输,文件夹到了,就认为内容为空。
把文件夹简称壳,文件夹下的文件简称东西。
就是壳到了,
东西正在传输,
然后检测到壳里面没有东西,
就认为没有东西,
实际上是东西正在传输。
解决
休眠一段时间,等文件都传完了,再进行其他操作。
import time
time.sleep(5) # 休眠5秒
# 继续操作
排查和解决总用时
一个上午,加大半个下午。
10点到12点,下午两点到4点半。
总共4个半点。
边栏推荐
- MySQL n'a pas pu trouver MySQL. Solution temporaire pour le fichier Sock
- C# Winform程序界面优化实例
- Deep learning compiler understanding
- 100 examples of bug records of unity development (the first example) -- shader failure or bug after packaging
- Rust 书籍资料 - 芽之家书馆
- EasyNVR平台设备通道均在线,操作出现“网络请求失败”是什么原因?
- 冰河老师的书
- Talk about the SQL server version of DTM sub transaction barrier function
- [Collection - industry solutions] how to build a high-performance data acceleration and data editing platform
- 剑指 Offer 17. 打印从1到最大的n位数
猜你喜欢

Hcip (Huawei Senior Network Security Engineer) (Experiment 8) (MPLS basic experiment)
![The company was jailed for nonstandard bug during the test ~ [cartoon version]](/img/cd/42ab3fc0000fa7dfe2ac89de3486e4.jpg)
The company was jailed for nonstandard bug during the test ~ [cartoon version]

ForkJoinPool

ONEFLOW source code parsing: automatic inference of operator signature

如何利用AI技术优化独立站客服系统?听听专家怎么说!

Merged binary tree of leetcode

Four tips tell you how to use SMS to promote business sales?

剑指 Offer 16. 数值的整数次方

医院在线问诊小程序源码 互联网医院源码 智慧医院源码

Only black-and-white box test is required for test opening post? No, but also learn performance test
随机推荐
漏洞复现----35、uWSGI PHP 目录遍历漏洞 (CVE-2018-7490)
uni-app进阶之自定义【day13】
autocad中文语言锁定只读警报怎么解决?
If you want to learn software testing, you must see series, 2022 software testing engineer's career development
At present, the big guys are joining the two streams of flinksql, cdcmysql and Kafka, and the results are put into MySQL or KA
手机股票账号开户安全吗?是靠谱的吗?
Unity开发bug记录100例子(第1例)——打包后shader失效或者bug
Leader: who can use redis expired monitoring to close orders and get out of here!
又一篇CVPR 2022论文被指抄袭,平安保险研究者控诉IBM苏黎世团队
Vscode status bar statusbar
Hospital online consultation applet source code Internet hospital source code smart hospital source code
Tsinghua only ranks third? 2022 release of AI major ranking of Chinese Universities of soft science
火山引擎入选国内首个《边缘计算产业全景图》
Solution of enterprise supply chain system in medical industry: realize collaborative visualization of medical digital intelligent supply chain
【TiDB】TiCDC canal_json的实际应用
剑指 Offer 16. 数值的整数次方
Unity实战之一个脚本实现雷达图
Coding officially entered Tencent conference application market!
[Collection - industry solutions] how to build a high-performance data acceleration and data editing platform
Rust 书籍资料 - 芽之家书馆