Skip to content
neural sketch project, currently in generative regex, list transformation (deepcoder), and text editing (robustfill) domains
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data_src
eval
models
pinn @ 5506b83
plot
pregex @ 2f332de
program_synthesis @ 9cb57f4
tests
train
util
vhe @ 9b76dd3
.gitmodules
README.md
TODO.md
anaconda-project.yml
execute_any_gpu.sh
execute_gf_gpu.sh
execute_gpu.sh
execute_k80_gpu.sh

README.md

NEURAL SKETCH PROJECT

Basic idea:

A user should only have to go into the train folder, the eval folder, and the plot folder. train and eval folders have train and eval scripts for each domain. Currently only robustfill and deepcoder are working.

the train folder is where the training scripts are. You should run from the top level directory, with the --pretrain flag, the first time you run. ex:

anaconda-project run python main_supervised_deepcoder.py --pretrain

On openmind, I usually do the following:

sbatch execute_gpu.sh python main_supervised_deepcoder.py --pretrain

(no anaconda-project needed with execute_gpu.sh)

THINGS TO NOTE

  • for various reasons, the ec subdir had to be added to path, so if you are looking at an import statement and don't see the folder in the top level, it's inside ec/
  • the util directory is a mess. I will clean it
  • the naming convention around "deepcoder" and "robustfill" is bad ... sorry ...

OCTOBER CLEAN UP

  • switch to hierarchical file structure
  • add EC as submodule or something
  • fix 'alternate' bug in evaluate code
    • eval script
    • loader scripts?
  • possibly find better names for saved things
  • remove all magic values
  • deal with silly sh scripts
  • fix readme for other users
  • run those other tests
  • perhaps redesign results stuff
  • make sure pypy stuff still works
  • make sure saved models work
  • figure out what needs to be abstracted, and abstract
  • run dc with smaller train 4 split

folders to comb through for hierarchical struct:

  • train
  • eval
  • tests
  • data_src
  • models
  • plot
  • utils
You can’t perform that action at this time.