双草酸酯

Results 56 comments of 双草酸酯

For my case I created a super simple test file ``` a = 1 ``` And it simply returns bad value at `getUpvalName`.

是什么?

@lychichem RST用ip6tables过滤掉就好了

In Python APIs there is a param `bool strict_map_key=True`, which does the thing.

> 如果是分析用,或以考虑attack debugger 试了下,似乎`emulator.attach(DebuggerType.ANDROID_SERVER_V7);`并不会在init_array的时候等待调试器,而是会直接跑飞(。

Uhhh wait, the parameter `HttpRequestPtr` does not really exists in drogon. That's my expected solution. https://github.com/an-tao/drogon/blob/54727a5dbe61d8faf2845621dc80992a17f75a21/lib/inc/drogon/HttpAppFramework.h#L134-L140

@marty1885 Maybe keep both types of error handler and use some wrapper like: ``` HttpAppFramework &setCustomErrorHandler(std::function &&resp_generator) { } HttpAppFramework &setCustomErrorHandler(std::function &&resp_generator) { setCustomErrorHandler([resp_generator](HttpRequestPtr req, HttpStatusCode code){ resp_generator(code); }) }...

got compilation error on Windows 11 Drogon: 1.7.4 MSVC: 19.31.31104 ``` FAILED: CMakeFiles/xxx.dir/models/xxx.cpp.obj C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1431~1.311\bin\Hostx64\x64\cl.exe /nologo /TP -DBENCHMARK -DFMT_LOCALE -DFMT_SHARED -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DNOMINMAX -IE:\link\code\xxx++ -IE:\link\code\xxx++\models -IE:\link\code\xxx++\cmake-build-debug\vcpkg_installed\x64-windows\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc...

> Try the version of 1.7.5 same error

我这里试了一下,生成batch用了254ms,GPU训练用了13ms。。。结果就是GPU完全空载,CPU六个核只有一个在慢慢生成训练批次