pcyin / tranX

A general-purpose neural semantic parser for mapping natural language queries into machine executable code
Apache License 2.0
460 stars 111 forks source link

Better support for conda environment #10

Closed neubig closed 4 years ago

neubig commented 4 years ago

I got an error when trying to install the conda environment:

$ conda env create -f data/env/py3torch3cuda9.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - numpy==1.14.3=py36h14a74c5_0

I see in the README that I'm supposed to remove the hash, which did work for me. It's a little bit annoying to have to do this manual step to install the toolkit though. I would suggest the following step:

  1. Move the conda environment files into the github repository, instead of in the zip.
  2. Have the default one be a somewhat more relaxed one that works in many environments, but keep the strict one around for reproducibility of the numbers in the paper.

If this sounds good, I can send a PR, what do you think?

neubig commented 4 years ago

Should be fixed by #15