Jonathan Mackenzie

Results 73 comments of Jonathan Mackenzie

I did write a script that can run hyperas in distributed mode: https://github.com/maxpumperla/hyperas/blob/master/examples/mnist_distributed.py and https://github.com/maxpumperla/hyperas#running-hyperas-in-parallel My plan of attack would be to run it using multiple distributed workers on a...

Is there any way to have a parameterised `data` function? Edit fixed this in #254

Everything returned in the function you want to minimise should be accessible from the `Trials` object. Of course, you can always have your function output to disk or a database...

@anasouza26 please make a new issue and use triple backticks at the start and end of your code (like this: ```) to format your code so we can actually read...

I've implemented a JSONProtocol that implements the apache thrift version which also supports binary data (see my fork for the change: https://github.com/Thriftpy/thriftpy2/pull/139 I might not have covered all cases and...

@yexiaoya Try this function: https://github.com/Thriftpy/thriftpy2/issues/152#issuecomment-768023281

@ethe after digging around in the code, it looks like these `thrift_spec`s are being generated in `_make_service` here: https://github.com/Thriftpy/thriftpy2/blob/a8b7873078a6f38a2f052964d439ab888e32fcf4/thriftpy2/parser/parser.py#L898-L905 Which comes from `funcs` which are a `ply.yacc.YaccProduction` which are generated...

That particular function is intended to convert `dict`s in the thriftpy2 json format into thrift objects. If you have a simple dict and want to make it into a thrift...

@liuweiming1997 please keep in mind that thriftpy2 doesn't currently support optional fields since this information is excluded from the `thrift_spec` attribute of thrift objects.