happypepper / DeepHoldem

203 stars 65 forks source link

Generation data error #11

Closed nukee86 closed 6 years ago

nukee86 commented 6 years ago

I tried to generate data as said in readme, and run into the problem:

Generating data ... 
terminal time: 1.0491530895233  
Qd7h6d6cAd 1 365    
build time: 0.014127969741821   
 1: 0.0024588108062744  
 2: 0.54947257041931    
 3: 0.57994318008423    
 4: 0.0099010467529297  
 5: 1.7352206707001 
 6: 0.88286304473877    
 7: 0.76583361625671    
 8: 0.014760494232178   
resolve time: 4.5872991085052   
/home/celepa/torch/install/bin/lua: cannot open <../Data/TrainSamples/NoLimit/1532797978-Qd7h6d6cAd-1.inputs> in mode  w at /home/celepa/torch/pkg/torch/lib/TH/THDiskFile.c:673
stack traceback:
    [C]: in ?
    [C]: in function 'DiskFile'
    /home/celepa/torch/install/share/lua/5.2/torch/File.lua:385: in function 'save'
    ./DataGeneration/data_generation.lua:151: in function 'generate_data_file'
    ./DataGeneration/data_generation.lua:24: in function 'generate_data'
    DataGeneration/main_data_generation.lua:14: in main chunk
    [C]: in function 'dofile'
    ...lepa/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: in ?

Any idea what might cause the problem?

JaysenStark commented 6 years ago

@nukee86 you didn't create a folder for the generated data. You should create it mannually. ../Data/TrainSamples/NoLimit/

nukee86 commented 6 years ago

Thanks, that did the trick.