Huang Duoyan
Huang Duoyan
> 那么是不是可以直接确定好vector的大小,不让它在动态扩容了 原来的代码通过在构造函数中设置大小,导致后面过程非常繁琐。 应该考虑使用无参构造函数定义结果队列 `que`,然后用 `que.reserve(people.size());` 语句一次性分配空间,指定 capacity!
可能原因是吴志勇老师已离开原团队。
“疑问”部分见最后。 ### 环境 - Fedora 42 Workstation - Conda, Python v3.10 .env文件内容: ```plain MODEL_NAME="gpt-4o-mini" MODEL_TYPE="OpenAI" # if use the gpt series (OpenAI), lamma series (LLAMA) OPENAI_API_KEY="key" # yourapi.cn OPENAI_ORGANIZATION="org" API_BASE_URL="http://127.0.0.1:8079"...
运行环境: - Fedora 42 Workstation - Python 3.10, conda 首先,论文和文档只字未提这一点。我目前只能通过文档上下文去猜。 https://os-copilot.readthedocs.io/en/latest/tutorials/self_learning.html 提到: ```plain If a specific task ID is provided, the script fetches and runs that task. Otherwise, it loads...
**Describe the bug** 执行 ```bash python course_learning.py --software_name Excel --package_name openpyxl --demo_file_path working_dir/Invoices.xlsx ``` 后出现: ```plain No JSON data found in the string. ``` 并终止。我怀疑这是意外终止。**`run_GAIA.py`也受到了影响!** **Screenshots and Logs** **Additional context**...
https://github.com/cuhk-eda/cu-gr/blob/9b1aa8a7db4e32877614d7a4f6aa983254e626ce/rsyn/src/rsyn/util/dim.h#L46 取消注释前,编译出错: ```plain [ 11%] Building CXX object CMakeFiles/iccad19gr.dir/home/huang/cu-gr/rsyn/src/rsyn/session/Session.cpp.o In file included from /home/huang/cu-gr/src/../rsyn/src/rsyn/util/dbu.h:28, from /home/huang/cu-gr/rsyn/src/rsyn/phy/util/PhysicalTransform.h:20, from /home/huang/cu-gr/rsyn/src/rsyn/phy/util/PhysicalTransform.cpp:16: /home/huang/cu-gr/src/../rsyn/src/rsyn/util/dim.h:46:38: error: expected unqualified-id before ‘for’ 46 | #define for_each_dimension(variable) for (...