DeepFix is available under the Apache License, version 2.0. Please see the LICENSE file for details.
Rahul Gupta, Soham Pal, Aditya Kanade, Shirish Shevade. "DeepFix: Fixing common C language errors by deep learning", AAAI 2017.
The essential dependencies include
$ pip install --user numpy subprocess32 regex tensorflow
In order to run the server, you must install
paste as well as
$ pip install --user bottle paste $ sudo apt-get install clang-format
To train, organize the input into bins for training and validation, with each bin containing a
set of source files that compile. Then run the script
data_processing/generate_data.py to generate
training data. The data required for training the network is stored in the
To train the network, use the script
neural_net/train.py. This saves the model periodically in the
Serve one of the trained models by using the script
server/serve.py. The best checkpoint achieved during
training is automatically used.