Comments (1)
Hello, thank you for recognizing our work.
GPT-ST can be applied to various spatiotemporal datasets. If you want to use it on a new dataset, I recommend retraining on it. Here is a brief summary of the steps: you can start by adding the new data file in the ./data folder and include data processing code in ./lib/load_dataset.py, then add a configuration file for the new dataset in ./conf/GPTST_pretrain/.
# Use the following command for pretraining, and the path to save the weights is specified in the configuration file of the new dataset.
python Run.py -dataset [new_dataset_name] -mode pretrain
# After completing the pretraining you can proceed with testing. Don't forget to add the conf file for the downstream model and the adjacency matrices required by different baselines:
python Run.py -dataset [new_dataset_name] -mode eval -model STGCN
The document only presents a subset of examples, and these are not fixed combinations. If you want to solely pretrain and test the STGCN without utilizing the GPT-ST model for enhancement:
python Run.py -dataset [new dataset name] -mode ori -model STGCN
You can set debug to True in ./conf/GPTST_pretrain/params_predictors.conf. This will ensure that the STGCN weights are saved.
from gpt-st.
Related Issues (4)
- Error for code
- Overflow problem HOT 1
- Error for code? 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 gpt-st.