philippmuench
11/4/2019 - 10:43 AM

commands.R

remove.packages("deepG")
devtools::install_github("hiddengenome/deepG@prepro")
tensorflow::install_tensorflow(version="1.12.0-gpu", method = "conda", conda_python_version = "2.7")
library(deepG)
hist <- trainNetwork(path = "/scratch/pmuench/crispr_refseq/with_crispr", use.cudnn = F, use.codon.cnn = F, maxlen = 80, batch.size = 500, run.name= "CrisprNet_v1_no_cnn", epochs = 50, steps.per.epoch = 1000, layers.lstm = 3, max.queue.size = 100, dropout.rate = 0.15, layer.size = 5,  vocabulary.size = 5)
# ValueError: No data provided for "lstm_input". Need data for each key in: ['lstm_input']
export LC_ALL="en_US.UTF-8"
export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/