Comments (3)
同样以 nn
这次作业为例,问题似乎出现在 grade.py
的 46 行左右,在
while p.poll() is None:
if time.time() - start_time > 1:
...
else:
...
while
内部似乎缺少了 break
,使 else
部分必然运行
在 if
语句内部最后添加 break
似乎可以解决问题
from faq.
hgnb!👍
from faq.
fixed
from faq.
Related Issues (10)
- 求助:讲台上的计算机经常断网 HOT 2
- 求助:grover算法作业的检测程序grade.py出现问题 HOT 5
- Debian Buster Vitables 无效 HOT 4
- wsl2 在使用 X11 时出错 HOT 2
- 求助:ssh 连接出错 HOT 10
- 求助:mail作业中在本地测试通过,上传到git上测试时在task7 failed HOT 3
- 关于Make:多个文件由同一个脚本生成产生的困难 HOT 2
- 安装 rhdf5
- 无法正常连接数据库
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faq.