Saravanan666/pypi-org huggingface dataset:
Package: threshold-finder
Installationpipinstallthreshold-finderUsageFolowing display an usage example.>>>fromthreshold_finder.finderimportOptimalThresholdFinder,ThresholdFinder,YoudenThresholdFinder>>># Example data>>>true_label=pd.Series([1,1,1,0,0,0])>>>predicted_proba=pd.Series([0.9,0.8,0.7,0.72,0.6,0.5])>>># Use a specific finder directly ...>>>finder=YoudenThresholdFinder()>>>optimal_threshold=finder.optimal_threshold(true_label,predicted_proba)>>>print(optimal_threshold)0.7>>># ... Or use the factory>>>factory=ThresholdFinder()>>>finder=factory.get_finder(method="youden_statistic")>>>optimal_threshold=finder.optimal_threshold(true_label,predicted_proba)>>>print(optimal_threshold)0.7
Package: thrift
Thrift Python Software LibraryLicenseLicensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.Using Thrift with PythonThrift is provided as a set of Python packages. The top level package is
thrift, and there are subpackages for the protocol, transport, and server
code. Each package contains modules using standard Thrift naming conventions
(i.e. TProtocol, TTransport) and implementations in corresponding modules
(i.e. TSocket).  There is also a subpackage reflection, which contains
the generated code for the reflection structures.The Python libraries can be installed manually using the provided setup.py
file, or automatically using the install hook provided via autoconf/automake.
To use the latter, become superuser and do make install.
Package: thrift2pyi
thrift2pyiconvert thrift to pyiHow to usepip install thrift2pyithrift2pyi tests/example.thriftthrift2pyi tests/src/example.thrift  -p tests/src -o tests/destSee dir "tests" for details.Examplenamespacepyexampleinclude"a/a.thrift"conststringA="1";consti32B=1;constlist<i32>C=[];constlist<i32>D=[1,2];constmap<i32,string>E={};constdoubleF=1.1;structExample{1:map<map<a.A,a.A>,a.A>A2:optionali16B3:i32C4:i64D5:boolE=true6:byteF7:doubleG=0.18:stringH="hello"9:a.AI10:map<a.A,map<a.A,a.A>>J11:map<a.A,a.A>K12:map<string,bool>L={}13:map<string,list<map<string,a.A>>>M14:list<a.A>N15:list<string>O16:set<i16>P17:list<map<string,a.A>>Q18:binaryR}enumExampleEnum{A=0B=1C=2}enumErrCode{ERR_SUCCESS=0ERR_REQ_PARAM_INVALID=4000ERR_UNKNOWN=5000ERR_SYSTEM_INNER_EXCEPTION=5001ERR_LIMIT_EXCEEDED=5002}unionExampleUnion{1:i32A=1}exceptionByteException{1:i32ErrorCode=0,}serviceExampleService{ExampleGet(1:a.Arq,2:i64xx)i16Pull(1:stringname="",2:map<string,string>xxx)throws(1:ByteExceptionexc)voidTest()}generated by thrift2pyi# coding:utf-8fromtypingimportList,Set,Dictfrom.aimporta_thriftasafromthriftpy2.thriftimportTExceptionfromenumimportEnumA='1'B=1C=[]D=[1,2]E={}F=1.1# noinspection PyPep8Naming, PyShadowingNamesclassExampleEnum(Enum):A=0B=1C=2# noinspection PyPep8Naming, PyShadowingNamesclassErrCode(Enum):ERR_SUCCESS=0ERR_REQ_PARAM_INVALID=4000ERR_UNKNOWN=5000ERR_SYSTEM_INNER_EXCEPTION=5001ERR_LIMIT_EXCEEDED=5002# noinspection PyPep8Naming, PyShadowingNamesclassExample(object):A:Dict[Dict[a.A,a.A],a.A]B:intC:intD:intE:boolF:intG:floatH:strI:a.AJ:Dict[a.A,Dict[a.A,a.A]]K:Dict[a.A,a.A]L:Dict[str,bool]M:Dict[str,List[Dict[str,a.A]]]N:List[a.A]O:List[str]P:Set[int]Q:List[Dict[str,a.A]]def__init__(self,A:Dict[Dict[a.A,a.A],a.A]=None,B:int=None,C:int=None,D:int=None,E:bool=True,F:int=None,G:float=0.1,H:str='hello',I:a.A=None,J:Dict[a.A,Dict[a.A,a.A]]=None,K:Dict[a.A,a.A]=None,L:Dict[str,bool]={},M:Dict[str,List[Dict[str,a.A]]]=None,N:List[a.A]=None,O:List[str]=None,P:Set[int]=None,Q:List[Dict[str,a.A]]=None)->None:...# noinspection PyPep8Naming, PyShadowingNamesclassByteException(TException):ErrorCode:intdef__init__(self,ErrorCode:int=0)->None:...# noinspection PyPep8Naming, PyShadowingNamesclassExampleService(object):defGet(self,rq:a.A=None,xx:int=None)->Example:...defPull(self,name:str='',xxx:Dict[str,str]=None)->int:...defTest(self,)->None:...
Package: thriftasyncioserver
===============================ThriftAsyncIOServer===============================.. image:: https://badge.fury.io/py/thriftasyncioserver.png:target: http://badge.fury.io/py/thriftasyncioserver.. image:: https://travis-ci.org/Marketcircle/thriftasyncioserver.png?branch=master:target: https://travis-ci.org/Marketcircle/thriftasyncioserver.. image:: https://pypip.in/download/thriftasyncioserver/badge.png:target: https://pypi.python.org/pypi/thriftasyncioserver.. image:: https://pypip.in/format/thriftasyncioserver/badge.png:target: https://pypi.python.org/pypi/thriftasyncioserverThrift Server using the Python 3 asyncio module* Free software: BSD license* Documentation: http://thriftasyncioserver.readthedocs.org.History-------0.1.0 (2014-06-12)---------------------* First release on PyPI.0.1.1 (2014-06-12)---------------------* Minor fixes0.1.2 (2014-06-13)---------------------* SSL Support
Package: thriftcacheserver
key-value-cache-thrift-pythonImplement a simple key value cache using thrift and PythonSet up virtual environmentpython3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtStart the cache serverpython3 -m cache run-serverRun the clientpython3 -m cache run-clientRun testspytest cacheRun flakeflake8 cache --exclude gen
Package: thrift-converter
thrift_converterA python implemented tool for converting between json and thrift.Installpipinstallthrift-converterWhy build this tool:Class in thrift gen-py usethrift_spec()to deserialize, but theEnumobject is simply treated asI32, while in json, it's stored as string of name.setis not json serializable in standard json, we can treat{'a', 'b', ..}as{None: ['a', 'b', ...]}for distinction.How to:Parsing thrift ast byptsdDeserializing thrift object by walking through ast recursively.Todo:learnplyfromptsdOthersintrospection-of-thrift-enums-in-pythondiscussed end with waiting for thrift upgrade(support for python enums)thrift_json_decoder in twitter.commoncan't handle with Enumthrift_json_convertor based on thriftpytoo heavyUsageexample:demoimportjsonfromthrift_converterimportJsonThriftConverter,ThriftJsonConverterthrift_file='demo.thrift'object_name='Group'json2thrift=JsonThriftConverter(thrift_file).convertthrift2json=ThriftJsonConverter(thrift_file).convertobj=gen_fake_obj()# Group(id=-1, worker_map={999: Worker(id=999, tasks=[Task(id=727, status=0, action=888, valid=True, msgs={'msg'})])})js=thrift2json(obj,object_name)js_str=json.dumps(js)# {"id": -1, "worker_map": {"999": {"id": 999, "tasks": [{"id": 727, "status": 0, "action": "UP", "valid": true, "msgs": {"null": ["msg"]}}]}}}obj=json2thrift(json.loads(js_str),object_name)# Group(id=-1, worker_map={999: Worker(id=999, tasks=[Task(id=727, status=0, action=888, valid=True, msgs={'msg'})])})
Package: thrift-fmt
thrift-fmtThrift Formattercan be used as command line toolthrift-fmtand python sdkthrift_fmtuse thrift-parserhttps://github.com/thrift-labs/thrift-parseras parserUsageInstallpipinstallthrift-fmtFormat filesformat single file and print to stdoutthrift-fmtmythrift.thriftformat and overwrite the origin filethrift-fmt-wmythrift.thriftformat a directory, this will overwrite the origin file, please keep in trackthrift-fmt-r./thrift_filesFeaturekeep and align all commentspatch list separatorpatch missed field'srequiredflagalign by the field's assign (like go)align by each field's partFormat only part of the parsed thriftexamplestructWork{1:requiredi32number_a=0,// hello2:optionali32num2=1,// xyz}align by each field's partstructWork{1:requiredi32number_a=0,// hello2:requiredi32num2=1,// xyz3:requiredlist<i32>num3=[1,2,3],// num311:requiredstringstr_b="hello-world",}Use as sdkusethrift_parser.ThriftDatato parse from file or struseThriftFormatterorPureThriftFormatterformat the parsed thrift data.fromthrift_fmtimportThriftFormatter,PureThriftFormatterfromthrift_parserimportThriftDataorigin='''include    "shared.thrift"   // a// work infostruct Work {1: i32 num1 = 0,2: required i32 num2, // num2 for3: Operation op, // op is Operation4: optional string comment,5: map<string,list<string>> tags, //hello}'''thrift=ThriftData.from_str(data)out=ThriftFormatter(thrift).format()assertout=='''include "shared.thrift" // a// work infostruct Work {1: required i32 num1 = 0,2: required i32 num2,                       // num2 for3: required Operation op,                   // op is Operation4: optional string comment,5: required map<string, list<string>> tags, //hello}'''.strip()# or only a single nodeheader=PureThriftFormatter().format_node(thrift.document.children[0])assertheader=='include "shared.thrift"'TODObetter codesupport function default add new linesupport indent for /* */ multi line commentsupport tight map/list define ?any other feature ?Devpdminstall

pdmrunpytest

pdmbuild

pdmrunthrift-fmt--helpLICENSEsome thrift files in fixtures thrift was copy fromhttps://github.com/apache/thrift/blob/master/tutorial/, The Apache LICENSEthe Thrift.g4 in thrift-parser package was copy fromhttps://github.com/antlr/grammars-v4
Package: thrift_hive_metastore
Thrift Hive Metastore Client============================A simple python thrift client of hive metastore, which is used tofetch table and schema information.The class files are generated from Hive source using thrift. Thisproject just makes a nice package of the generated code.Usage=====```bash>> tox -r -e py27>> # install>> .tox/py27/bin/python setup.py sdist upload>> # browse tables>> # get all tables>> .tox/py27/bin/thrift_hive_metastore localhost 9083>> # get all tables and show their field definitions>> .tox/py27/bin/thrift_hive_metastore localhost 9083 -s>> # get tables from a namespace>> .tox/py27/bin/thrift_hive_metastore localhost 9083 mynamesapce>> # get tables from namesapces matching given pattern>> .tox/py27/bin/thrift_hive_metastore localhost 9083 my*>> # get tables whose names matche a given pattern,  from namesapces matching given pattern>> .tox/py27/bin/thrift_hive_metastore localhost 9083 my* *mytable*```
Package: thrift_json
thrift_jsonconverter between thrift and jsonFree software: MIT licenseUsageconvert from json/dict to thrift>>> from thrift_json import json2thrift, dict2thrift
>>> thrift_obj = json2thrift(json_str, thrift_class)
>>> thrift_obj = dict2thrift(dict_obj, thrift_class)convert from thrift to json/dict>>> from thrift_json import thrift2json, thrift2dict
>>> json_str = thrfit2json(thrift_obj)
>>> dict_obj = thrift2dict(thrift_obj)encode/decode use json directly>>> from thrift_json import ThriftJSONEncoder
>>> json_str = json.dumps(thrift_obj, cls=ThriftJSONEncoder)>>> from thrift_json import ThriftJSONDecoder
>>> thrift_obj = json.loads(json_str, cls=ThriftJSONDecoder, thrift_class=thrift_class)History0.1.0 (2016-07-11)First release on PyPI.
Package: thrift-parser
thrift-parserpipinstallthrift-parserThrift.g4is fromhttps://github.com/antlr/grammars-v4parsefromthrift_parserimportparse_filelexer,tokens,parser,document=parse_file('tutorial.thrift')or smiplefromthrift_parserimportThriftDatathrift_data=ThriftData.from_file('tutorial.thrift')print(thrift_data.tokens[0].text)print(thrift_data.document.children)or you can try antlr's wayfromantlr4importFileStreamfromantlr4importCommonTokenStreamfromantlr4importParserRuleContextfromthrift_parser.ThriftLexerimportThriftLexerfromthrift_parser.ThriftParserimportThriftParserdefmain(file):input_stream=FileStream(file,encoding='utf8')lexer=ThriftLexer(input_stream)stream=CommonTokenStream(lexer)parser=ThriftParser(stream)ctx=ParserRuleContext()parser.enterRule(ctx,0,0)document=parser.document()returndocumentWhy ?python thrift parser --> thrift-fmt --> auto format my thrift files in one styleTODOmore ast operate, fake_token, fake_contextother language?
Package: thriftpl
#python-thrift-pool#base on：
* python2.7
* thrift 0.9.2 thrift lib#change 2014-12-05 :
* dependency thrift 0.9.2 while using thrift-TMultiplexedProtocol#usage##installpip install thriftpl## using
look at tests/test.py
<pre>
<code>
# -- coding: utf-8 --import os,sysfrom thriftpl.client import ThriftClientPool,ThriftClientConfig,HostAndPort,ThriftPoolConfig
from test import TestServiceaddress = HostAndPort(“127.0.0.1”,9090)
poolConfig = ThriftPoolConfig(minPoolSize=1,maxPoolSize=10,maxWait=500)
clientConfig = ThriftClientConfig(clientInterface=TestService.Client)
pool = ThriftClientPool(clientConfig,poolConfig,address)client = pool.getClient()
print client.test(“123”)
print client.test(“1234”)
print client.test(“1235”)print pool.getClient().test(“abc”)
print pool.getClient().test(“abcd”)
print pool.getClient().test(“abce”)
</code>
</pre>
Package: thriftplus
# ThriftPlus [![Build Status](https://travis-ci.org/horia141/thriftplus.svg?branch=master)](https://travis-ci.org/horia141/thriftplus) [![Coverage Status](https://coveralls.io/repos/github/horia141/thriftplus/badge.svg?branch=master)](https://coveralls.io/github/horia141/thriftplus?branch=master)A compiler for ThriftPlus, which is an extension to [Thrift](https://thrift.apache.org/), with better support for emitting packages and with a niftier library and import system.Requires a proper Thrift installation.
Package: thriftpool
CI status:ThriftPoolis an application server forThriftservices. It should create needed
sockets, start workers, serve requests from client and log them. It usepyuvas
wrapper forlibuvand pre-fork model for load balancing between workers. Request processing
written inCython.Key features:Pre-fork worker model;Fast request processing (~3500 rps);Support request logging.Code of project based onCelery.Changelog0.1.21Add support for handlers start and stop;0.1.19 - 0.1.20Add support for worker restarting after their ttl expired;0.1.17 - 0.1.18Ensure that acceptors started after workers crashed;0.1.15 - 0.1.16Fix bugs;0.1.14Start listeners after workers;0.1.1 - 0.1.13Add support for prefork model;0.1.0 (initial release)Base prototype;
Package: thriftpy
ThriftPy is a pure python implementation ofApache Thriftin a pythonic way.Documentation:https://thriftpy.readthedocs.org/InstallationInstall with pip.$pipinstallthriftpyYou may also install cython first to build cython extension locally.$pipinstallcythonthriftpyCode DemoThriftPy make it super easy to write server/client code with thrift. Let’s
checkout this simple pingpong service demo.We need a ‘pingpong.thrift’ file:service PingPong {
    string ping(),
}Then we can make a server:importthriftpypingpong_thrift=thriftpy.load("pingpong.thrift",module_name="pingpong_thrift")fromthriftpy.rpcimportmake_serverclassDispatcher(object):defping(self):return"pong"server=make_server(pingpong_thrift.PingPong,Dispatcher(),'127.0.0.1',6000)server.serve()And a client:importthriftpypingpong_thrift=thriftpy.load("pingpong.thrift",module_name="pingpong_thrift")fromthriftpy.rpcimportmake_clientclient=make_client(pingpong_thrift.PingPong,'127.0.0.1',6000)print(client.ping())See, it’s that easy!You can refer to ‘examples’ and ‘tests’ directory in source code for more
usage examples.FeaturesCurrently ThriftPy have these features (also advantages over the upstream
python lib):Supports python2.6+, python3.3+, pypy and pypy3.Pure python implementation. No longer need to compile & install the ‘thrift’
package. All you need is thriftpy and thrift file.Compatible with Apache Thrift. You can use ThriftPy together with the
official implementation servers and clients, such as a upstream server with
a thriftpy client or the opposite.Currently implemented protocols and transports:binary protocol (python and cython)compact protocol (python and cython)json protocolbuffered transport (python & cython)framed transporttornado server and client (with tornado 4.0)Can directly load thrift file as module, the sdk code will be generated on
the fly.For example,pingpong_thrift =thriftpy.load("pingpong.thrift",module_name="pingpong_thrift")will load ‘pingpong.thrift’ as ‘pingpong_thrift’ module.Or, when import hook enabled bythriftpy.install_import_hook(), you can
directly useimport pingpong_thriftto import the ‘pingpong.thrift’ file
as module, you may also usefrom pingpong_thrift import PingServiceto
import specific object from the thrift module.Easy RPC server/client setup.ContributeFork the repo and make changes.Write a test which shows a bug was fixed or the feature works as expected.Make suretravis-ciortoxtests succeed.Send pull request.Contributorshttps://github.com/eleme/thriftpy/graphs/contributorsChangeloghttps://github.com/eleme/thriftpy/blob/master/CHANGES.rst
Package: thriftpy2-httpx-client
This package is provides an alternative HTTP client for ThriftPy2 which
uses HTTPX instead of the builtinhttp.clientandhttp.serverlibraries. This allows the developer to use more complex features like
authentication, fine grained timeouts, and asyncio.Examples:Setup (Borrowed from ThriftPy2 Docs):# pingpong.thriftservicePingPong{stringping(),}importthriftpy2fromthriftpy2.httpimportmake_serverpingpong_thrift=thriftpy2.load("pingpong.thrift",module_name="pingpong_thrift",)classDispatcher(object):defping(self):return"pong"server=make_server(service=pingpong_thrift.PingPong,handler=Dispatcher(),host='127.0.0.1',port=6000,)server.serve()Async Usage:fromthriftpy2_httpx_clientimportmake_aio_clientclient=awaitmake_aio_client(pingpong_thrift,url='http://localhost:6000')print(awaitclient.ping())# prints 'pong'Sync Usage:fromthriftpy2_httpx_clientimportmake_sync_clientclient=make_sync_client(pingpong_thrift,url='http://localhost:6000')print(client.ping())# prints 'pong'Additional keyword arguments can be passed to the client to configure
the internalhttpx.AsyncClient()andhttpx.Client()instances. For
example, you can enable Kerberos authentication usinghttpx-gssapi:fromhttpx_gssapiimportHTTPSPNEGOAuthfromthriftpy2_httpx_clientimportmake_aio_clientclient=awaitmake_aio_client(pingpong_thrift,url='http://localhost:6000',auth=HTTPSPNEGOAuth(),)print(awaitclient.ping())# prints 'pong'
Package: thriftpy-cli
Thriftpy-CliInstallpipinstallthriftpy-cliIf you are using Python2, ipython 7 and above has dropped python2 support, so you’ll need:pipinstallthriftpy-cliipython==6.5.0Usage$thriftpy-cli-tthrift_file.thrift-hlocalhost-p8010-sServiceName$# Launching into ipython>>>client.api(*args)
Package: thrift-pyi
This is simple.pyistubs generator from thrift interfaces.
Motivation for this project is to have autocomplete and type checking
for dynamically loaded thrift interfacesInstallationpipinstallthrift-pyiQuickstartSample usage:$thriftpyiexample/interfaces--outputexample/app/interfacesAdditionally to generated stubs you might want to create__init__.pythat will load thrift interfaces, for example:frompathlibimportPathfromtypesimportModuleTypefromtypingimportDictimportthriftpy2_interfaces_path=Path("example/interfaces")_interfaces:Dict[str,ModuleType]={}def__getattr__(name):try:return_interfaces[name]exceptKeyError:interface=thriftpy2.load(str(_interfaces_path.joinpath(f"{name}.thrift")))_interfaces[name]=interfacereturninterfaceTo see more detailed example of usage refer toexample app–strict-optionalPython and thrift are very different at argument handling.
For example in thrift the following will be correct declaration:structTodoItem{1:requiredi32id3:optionali32type=12:requiredstringtext}In python, fields without default values cannot appear after fields with default
values. Therefore by default all fields are optional with default to None.
This is compliant tothriftpy2.However, if you want more strict behaviour you can specify–strict-optionaloption.
For the case above, the following stubs will be generated:fromdataclassesimportdataclass@dataclassclassTodoItem:id:inttype:int=1text:strDevelopmentTo install pre-commit hooks:pre-commit installTo run the all tests run:tox
Package: thrift-unofficial
Thrift Python Software LibraryLicenseLicensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.Using Thrift with PythonThrift is provided as a set of Python packages. The top level package is
thrift, and there are subpackages for the protocol, transport, and server
code. Each package contains modules using standard Thrift naming conventions
(i.e. TProtocol, TTransport) and implementations in corresponding modules
(i.e. TSocket).  There is also a subpackage reflection, which contains
the generated code for the reflection structures.The Python libraries can be installed manually using the provided setup.py
file, or automatically using the install hook provided via autoconf/automake.
To use the latter, become superuser and do make install.
Package: thriftworker
CI status:ThriftWorkerprovides implementation of some primitives forThriftPool.Key features:Support multiple workers implementation (sync, threads pool);Support multiple transports (currently only framed transport over TCP).Changelog0.1.11 - 0.1.14Fix bugs;0.1.1 - 0.1.10Add support for prefork model;0.1.0 (initial release)Base prototype;
Package: thrill
ThrillTravis-CI Status:Jenkins Status:Appveyor Status:Thrill is an EXPERIMENTAL C++ framework for algorithmic distributed Big Data batch computations on a cluster of machines.
It is currently being designed and developed as a research project at Karlsruhe Institute of Technology and is in early testing.
More information on goals and mission seehttp://project-thrill.org.For easy steps on Getting Started refer to theLive Documentation.
Package: thrillington
Recurrent Models of Visual AttentionReplication in Tensorflow of the following paper:Mnih, Volodymyr, Nicolas Heess, and Alex Graves."Recurrent models of visual attention."Advances in neural information processing systems. 2014.https://papers.nips.cc/paper/5542-recurrent-models-of-visual-attentionBased in part on the following implementations:https://github.com/torch/rnn/blob/master/examples/recurrent-visual-attention.lua(license:https://github.com/torch/rnn/blob/master/LICENSE.txt)https://github.com/seann999/tensorflow_mnist_ram(MIT license:https://github.com/seann999/tensorflow_mnist_ram/blob/master/LICENSE)https://github.com/kevinzakka/recurrent-visual-attentioninstallation$ pip install thrillington(thrillingtonbecause there is already aramon PyPI,
and becausehttps://en.wikipedia.org/wiki/Thrillington)usageThe library can be run from the command line with a config file.$ ram train ./RAM_config-2018-10-21.ini

...

  0%|          | 0/10000 [00:00<?, ?it/s]

config.train.resume is False,
will save new model and optimizer to checkpoint: /home/you/data/ram_output/results_20181021/checkpoints/ckpt

Epoch: 1/200 - learning rate: 0.001000

282.5s - hybrid loss: 1.690 - acc: 6.000: 100%|██████████| 10000/10000 [04:42<00:00, 35.65it/s]
  0%|          | 0/10000 [00:00<?, ?it/s]

mean accuracy: 9.97
mean losses: LossTuple(loss_reinforce=-1.1296023, loss_baseline=0.09972435, loss_action=2.3005059, loss_hybrid=1.2706277)

Epoch: 2/200 - learning rate: 0.001000

282.8s - hybrid loss: 1.223 - acc: 10.000: 100%|██████████| 10000/10000 [04:42<00:00, 35.50it/s]
  0%|          | 0/10000 [00:00<?, ?it/s]
...For a detailed explanation of the config file format, please seehereCHANGELOGTo see past changes and work in progress, please check out theCHANGELOG.