Skip to content

DeprecationWarning: screen_size_px and minimap_size_px are deprecated. #20

Open
@YuWentao95

Description

@YuWentao95

Hi! I tried to run the train_mineral_shards.py using pycharm on the windows 7, the error is :
Traceback (most recent call last):
File "D:\Anaconda3\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "D:\Anaconda3\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Administrator.SC-201608140925\Desktop\pysc2-examples-master\common\vec_env\subproc_vec_env.py", line 20, in worker
minimap_size_px=(32, 32)) as env:
File "D:\Anaconda3\lib\site-packages\pysc2\env\sc2_env.py", line 182, in init
"screen_size_px and minimap_size_px are deprecated. Use the feature "
DeprecationWarning: screen_size_px and minimap_size_px are deprecated. Use the feature or rgb variants instead. Make sure to check your observations too since they also switched from screen/minimap to feature and rgb variants.
I hope someone can answer my question, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions