Shuhua Gao

Results 33 comments of Shuhua Gao

阅读了你的源码,值得学习,非常感谢! 另外,在C++ 17标准中,有了std::variant,用这个应该能简化你jsonValue.h中定义了那一系列表示不同类型节点的子类。相当于我们只有一个节点类型JsonValue,其成员是一个std::variant。然后根据不同的重载构造函数,即可确定variant的真正类型。

解析精度应该一样啊,因为std::stod()内部就是调用了strtod。 [参考](http://en.cppreference.com/w/cpp/string/basic_string/stof) 抛出异常和使用错误码,不过是C++和C两种不同的处理方式。std::stod()把strtod中的错误码,包装成了异常,你去捕获异常,然后返回`LEPT_PARSE_NUMBER_TOO_BIG`就行了。

Still the same issue when working in a package generated by PkgTemplates.jl: no IntelliSense when writing the test.

I tried 1. Setting `num_epochs=0` in `runner.train`, and the same error occurred. 2. Comment out totally the `runner.train`, and change `evaluate_loader` to ```python runner.evaluate_loader(loaders['valid'], model=model) ``` Then there was no...

@sunrei Thanks for you explanation. I guess in fact only the relative position matters, i.e., the vertical distance between the bird and the first upper pipe before it. thus, this...

@rhysstubbs It is not the standard NEAT. Only the network connection weights are evolved, I think. That is, use genetic algorithm instead of back-propagation to train the network.

> Multiple dispatch seems to be overused here in this package. I agree particularly on `update!`. I thought `update!` was a high-level interface with a limited number of signatures, but...

The following code blocks similarly in `IJulia`, though it works in REPL. ```julia original_stdout = stdout (rd, wr) = redirect_stdout() println("123") println("456") redirect_stdout(original_stdout) close(wr) read(rd, String) # blocked here ```

Same issue Environment - Julia 1.6.1 - Python 3.9.5 (NOT in conda) - Ubuntu 21.04 To reproduce: ```python >>> from julia.api import Julia >>> jl = Julia(compiled_modules=False) Traceback (most recent...

> The only way I found around this issue was reverting to Python 3.8.8 Does Python 3.8.8 work with Julia 1.6?