Andrew Spott
Andrew Spott
Usually, if you want to get the source of an object, you can get it via the inspect module: ``` import inspect inspect.getsource(MyObject) ``` However, in a Jupyter notebook /...
I'm getting a circular reference when attempting to do a very simple query: ``` $cat test.py import records def retrieve(): db = records.Database("postgres://localhost/pocket_replacement") rows = db.query( """SELECT document_id FROM root;""")...
There is a class of things that don't appear to be able to be possible within the current callback framework of Skorch. The first one that comes to mind is...
The nix package search has Firefox as being supported by both architectures of darwin (https://search.nixos.org/packages?channel=21.11&show=firefox&from=0&size=50&sort=relevance&type=packages&query=firefox), however when I try and install it, I get a `error: Package โFirefox-97.0.1โ in /nix/store/xc5pyr7v39769j1m49zp3xq86s9abfgn-nixpkgs/nixpkgs/pkgs/applications/networking/browsers/firefox/wrapper.nix:351...
More accurately, how am I supposed to handle a "file" that is really just a bunch of bytes? Ideally, I would like to use a `BinaryIO` object, however, these don't...
## ๐ Feature Some metrics take up a lot of GPU memory in certain situations (deterministic mode, lots of classes, caching), even though they don't spit out a list (the...
## ๐ Bug print(list(self.val_metrics_macro.keys())) # prints "['val/MulticlassAccuracy/macro', 'val/MulticlassF1Score/macro', 'val/MulticlassPrecision/macro', 'val/MulticlassRecall/macro']" print( f'val/accuracy/macro: {self.val_metrics_macro["val/MulticlassAccuracy/macro"].compute():.4}' ) # throws error: KeyError: 'val/MulticlassAccuracy/macro' ### Expected behavior If a key shows up in `.keys` it...
## ๐ Bug When using MPS (gpu on a M1 Mac), and using any metric that depends on StatScores (f1, acc, etc.), I get a bunch of obviously wrong results...
### Problem Currently there is no way to select this when choosing vast.ai instances or tensordock instances, so you might have to use potentially insecure instances. ### Solution add a...
### Problem A user might want to choose between a small subset of the returned instances that they can run a job on due to things like stability, cost, or...