dmlc / MXNet.jl

MXNet Julia Package - flexible and efficient deep learning in Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suppress "TempSpace" info in predict

rdeits opened this issue · comments

Calling mx.predict always prints an info message like: INFO: TempSpace: Total 0 MB allocated on CPU0, which can result in an overwhelming amount of printing when running lots of small predictions (I realize it's more efficient to do fewer predictions with larger batches, but that's not always possible). The relevant line is here:

info(string("TempSpace: ", split(dbg_str, ['\n'])[end-2]..., " on ", self.ctx[1]))

Would it be reasonable to add a verbosity keyword argument to predict()?