yukke
yukke
环境问题 ``` torch>=1.3 ``` `predict.py`会报错 ``` RuntimeError: Legacy autograd function with non-static forward method is deprecated. ``` 在pytorch1.3及以后的版本需要规定forward方法为静态方法,对此修改以下片段就能work before ``` if self.phase == "test": output = self.detect.forward( loc.view(loc.size(0), -1, 4),...
@chenshuo cpp17, compile issue occurs ```bash muduo/muduo/net/InetAddress.cc:50:35: error: expected primary-expression before ‘,’ token 50 | static_assert(offsetof(sockaddr_in, sin_family) == 0, "sin_family offset 0"); ``` my gcc version ``` gcc (Ubuntu 11.4.0-1ubuntu1~22.04)...
my env settings ``` windows sdk == 10.0.22000.0 clang == 18.1.0rc ``` compile errors occurs like below + `deprecated-declarations` ``` db_bench.cc:1116:16: error: 'sscanf' is deprecated: This function or variable may...
notice some missing include in header files, add missing headers