Mo Kweon

Results 29 comments of Mo Kweon

Or is the "Python" box that should disappear?

I'm also getting 1 minute timeout but the above did not work. In fact, setting deadline to 0 or not setting is the same as setting the maximum deadline according...

And can still be used to format js, ts, json, less, scss ? It will force the parser?

In [code: solver.check_accuracy](https://github.com/dmlc/minpy/blob/master/minpy/nn/solver.py#L197) it doesn't check `each_batch.label` is onehot encoded ```python acc_count += np.sum(np.argmax(predict, axis=1) == each_batch.label[0]) ``` but `minpy.nn.layers.softmax_loss` can take either onehot(N, C) or labels (N,)

Any update here? This is the problem with gRPC-dart not with `Uri.parse` Uri correctly parse the sub path but the gRPC client code does not use it (https://github.com/grpc/grpc-dart/blob/e4947e290924f98de48437686122c2ba482d4326/lib/src/client/method.dart#L22). For example,...

now i understand the problem. the generated code (stub output from `protoc --dart_out=...`) has a prefix "/" so the URI will ignore the path

```dart void main() { final path = '/abc/def'; final uri = Uri.parse('http://localhost:6060/grpc'); final uri2 = Uri.parse('http://localhost:6060/grpc/'); print(uri.resolve(path)); print(uri2.resolve(path)); } ``` prints ``` http://localhost:6060/abc/def http://localhost:6060/abc/def ```

Either the generated code should not be prefixed with "/" or we need to modify https://github.com/grpc/grpc-dart/blob/e4947e290924f98de48437686122c2ba482d4326/lib/src/client/transport/xhr_transport.dart#L138 or `Uri.resolve` should be fixed?