HazyResearch / meerkat

Creative interactive views of any dataset.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] No file found when running demo script

jdunnmon opened this issue · comments

Describe the bug
No such file or directory found when trying to run demos.

To Reproduce
Steps and code snippet that reproduce the behavior:

mk demo --run tutorial-image-gallery --api-port 8890

Include any relevant screenshots.

image

Expected behavior
A clear and concise description of what you expected to happen.

Expect demo to run on port 8890

System Information

  • OS: Ubuntu

It sounds like there's an issue with downloading imagenette. Does running mk.get("imagenette", version="160px") work for you? You can also try deleting /home/jdunnmon/.meerkat/datasets/imagenette/160px/ and retry (let us know if that doesn't work).

Yeah, running the command above manually works. I think there is an issue with the mk demo command, in that it uses the full version not the 160 px version.

That's weird, the demo file itself has

df = mk.get("imagenette", version="160px")

for the tutorial-image-gallery demo. You can try adding the --copy flag to mk demo and then looking at the script (and try running this copied script with mk run)