Shivam-Miglani/contextual_drl

Turn python notebook into python script

Closed this issue · 1 comments

Hi,

Fantastic work here! I was wondering, the last time I tried to get this working I had some problems, which I no longer recall. I was wondering how easy it would be for you to please convert one of the notebooks into a python script that would accept a directory containing input text files and use those files to create the PDDL domain? This would make it more of a turnkey solution that could be plugged into other projects and would probably help with adoption. If you are not interested, please let me know and I will try again. Thanks!

Kind Regards,
Andrew

Ah, nm, I was able to create the script using

jupyter nbconvert --to script NLtoPDDL.ipynb

I was also able to get it to run this time.
Thank you for making this available - going to try to run it on WikiHow CC texts now.