Re: [capnproto] Memory issues with captain proto structs?

2021-03-31 Thread Brando Miranda
Btw, this is the code getting the data each iteration: # @profile def train(self, n_epoch): import time self.tactic_predictor.train() avg_loss = AverageMeter('train loss') avg_acc = AverageMeter('train accuracy') # iterations = len(self.dataloaders['train']) # bar =

Re: [capnproto] Memory issues with captain proto structs?

2021-03-31 Thread Brando Miranda
Hi Kenton, Thanks for the reply. I didn't want to overwhelm you guys, its been hard to decide what to share. Perhaps this will be a good peak into the main function giving me problems: class DagDataset(Dataset): def __init__(self, path2dataprep, path2hash2idx, split): self.split =

Re: [capnproto] Memory issues with captain proto structs?

2021-03-31 Thread 'Kenton Varda' via Cap'n Proto
Hi Brando, It's hard for us to guess what might be the problem without seeing more code. -Kenton On Tue, Mar 30, 2021 at 12:56 PM Brando Miranda wrote: > Hi, > > I am doing machine learning with captain proto (because captain proto is > good at communicating between python and different