Comments (6)
Sorry I don't know much about your problem. But maybe you can try the following method I once used.
Under the path "PGportfolio/pgportfolio/autotrain/training.py", it has:
for dir in all_subdir: # train only if the log dir does not exist if not str.isdigit(dir): return # NOTE: logfile is for compatibility reason if not (os.path.isdir("./"+train_dir+"/"+dir+"/tensorboard") or os.path.isdir("./"+train_dir+"/"+dir+"/logfile")): p = Process(target=train_one, args=( "./" + train_dir + "/" + dir + "/netfile", load_config(dir), "./" + train_dir + "/" + dir + "/tensorboard", dir, logfile_level, console_level, device)) p.start() pool.append(p) else: continue
The first “if” check whether the names of folders under this directory are digital or not. However, for me I ran it on macOS, it would generate a hidden folder named ".DS_Store" automatically. And according to the order of ASCII, this folder would be checked first before those folders named digitally which we really need. Then this function returns directly without reading in any data.
What you can do, I think is:
(1) Delete the folder ".DS_Store" manually;
(2)Change the "return" under the first if into "continue".
from pgportfolio.
@EstelleHuang666 Hi, there! What steps have you tried? The train_summary
will be generated only after you finish the training.
An example operation should look something like:
- config
net_config.json
under./pgportfolio
python main.py --mode=generate --repeat=1
python main.py --mode=train --processes=1
Besides, if you are looking for the code. It is here
from pgportfolio.
Neither could I generate one by following your instruction. Look forward to your answer.
As @dexhunter said, if you finish training, it should be generated under the train_package
folder.
from pgportfolio.
Such a dumb - -#... Great thanks for your explanation!
from pgportfolio.
Hi. I am also having a problem with generating the train_summary.csv file after python main.py --mode=train --processes=1
step although it does not respond any errors.
net_config.json
replicate folders seem to be successfully generated under train_package folder after python main.py --mode=generate --repeat=1
command. I also downloaded the data beforehand using python main.py --mode=download_data
command as suggested. But I could not obtain the csv file.
Should I somehow modify the config file for the first run or is there something else missing?
Thanks.
from pgportfolio.
@EstelleHuang666 it turned out that it is the exact reason of my problem. Thank you so much! Problem solved.
from pgportfolio.
Related Issues (20)
- Issue when downloading data HOT 1
- Segmentation fault during plot mode HOT 1
- User Guide Plot HOT 2
- Three questions HOT 2
- Does your model support no-transction allowed periods
- Meaning of figures like 0.00900002 in SqlLite history table for ETH
- pandas panel HOT 3
- mu might be miscalculated
- A Error in data Processing HOT 1
- validation set and hyperparameters tuning
- question about decide_by_history
- Lower portfolio values for recent dates(e.g. "start_date":"2018/08/17", "end_date":"2020/11/19") HOT 1
- ERROR:root:the sqlite error happend HOT 1
- TypeError: object() takes no parameters HOT 1
- Conversion of globaldatamatrix panel to Dataframe (panel is deprecated) HOT 4
- Fix: train_summary.csv not generated
- Normalization on open price HOT 1
- Problem of dtype arguments
- How to run this agent
- KeyError: 'BTS_BTC' HOT 7
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 pgportfolio.