Skip to content

Commit

Permalink
Update avaiable_slots and prediction batch size
Browse files Browse the repository at this point in the history
- prevent using too much memory
  • Loading branch information
chaklim committed Dec 5, 2019
1 parent 7c2b41c commit a2213ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dataPrepScripts/CreateTensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def samtools_view_process_from(


def OutputAlnTensor(args):
available_slots = 10000000
available_slots = 5000000
samtools = args.samtools
tensor_file_path = args.tensor_fn
bam_file_path = args.bam_fn
Expand Down
2 changes: 1 addition & 1 deletion shared/param.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Model hyperparameters
trainBatchSize = 10000
predictBatchSize = 10000
predictBatchSize = 1000
initialLearningRate = 1e-3
learningRateDecay = 0.1
maxLearningRateSwitch = 3
Expand Down

0 comments on commit a2213ad

Please sign in to comment.