Comments (8)
@TuringsEgo You're right. They removed app from pysc2.lib. I'll write my own app and replace it.
from msc.
There isn't a flag min_mmr in parse_replay_info.py but in preprocess.py. We do not need to call FLAGS(sys.argv) explicitly, because app.run() does it.
from msc.
What version of gflags are you using?
from msc.
@TuringsEgo python_gflags == 3.1.1
from msc.
I think the update of PySC2 is the root of this error. They removed app from pysc2.lib
Prior to this commit, you are correct in that it called FLAGS(sys.argv) for you.
Are you going support the newest version of PySC2 in the future?
from msc.
You can use absl
as pysc2 does. The app() calls will need to be given main as an arg, and instead of gflags from absl import flags
seems to be working for me. Don't need to write one.
from msc.
@matthsims Yes, you're right.
from msc.
Solved in #4.
from msc.
Related Issues (15)
- cannot from pysc2.lib import FUNCTIONS HOT 1
- About global features vector HOT 1
- Failed to use json.load to open the file HOT 1
- Extract names of the features from the npz stored files HOT 1
- json.decoder.JSONDecodeError: Expecting ':' delimiter: line 1 column 695279 (char 695278) HOT 1
- Dataset link HOT 3
- dataset issue
- extract actions error HOT 1
- No module named βstreamβ in the parse_reply.py HOT 2
- Action parsing HOT 6
- Get `AttributeError: module 's2clientprotocol.sc2api_pb2' has no attribute 'Race'` when try to run `python preprocess.py` HOT 1
- Get primitive action id from dataset HOT 2
- Multiprocessing breaks flags when parsing replay info HOT 1
- Could not open initData for the replay HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msc.