balajiln/mondrianforest

Demo code fails due to missing "results" folder

Closed this issue · 1 comments

I ran the demo code ./mondrianforest.py --draw_mondrian 1 --save 1 --n_mondrians 10 --dataset toy-mf --store_every 1 --n_mini 6 --tag demo and it terminated on:

          IOError: [Errno 2] No such file or directory: 'results/toy-mf-mf-budg--1_nmon-10_mini-6_discount-10-param-0-init_id-1-bag-0-tag-demo-mondrians_minibatch-0.pdf'

A mkdir fixed that. Maybe add the folder to the repository? (With a dummy file in, since git doesn't understand empty folders.) Or create the folder from python.

Hi Dan,

Thanks for your interest!

Have added src/results/placeholder.txt which fixes this issue.

Cheers,
Balaji