Skip to content

AttributeError: PyProcessDmLab object has no attribute b'initial' #41

Open
@alex-petrenko

Description

@alex-petrenko

I am trying to run the single-level experiment as instructed in Readme:

python experiment.py --num_actors=48 --batch_size=32

But right after all the 48 actors are created the script crashes with the following stacktrace:

  File "/home/apetrenk/miniconda3/envs/doom-impala/lib/python3.7/site-packages/tensorflow/python/ops/script_ops.py", line 209, in __call__
    ret = func(*args)                                          
                                                                                                                                                
  File "/home/apetrenk/all/projects/doom/impala/scalable_agent/py_process.py", line 87, in py_call
    raise result                                                                                                                                   
                                                 
AttributeError: 'PyProcessDmLab' object has no attribute 'b'initial''                                                                        
                                                             
                                                                                                                                                            
         [[node flow_environment_initial_3/initial (defined at /home/apetrenk/all/projects/doom/impala/scalable_agent/py_process.py:97) ]]

Looks like for some reason the byte-literal is used instead of a string for the method name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions