misc
This commit is contained in:
35
readme.md
35
readme.md
@ -80,24 +80,53 @@ gogo2/
|
||||
|
||||
## Training Modes
|
||||
|
||||
### CNN Training
|
||||
### CNN Training with TensorBoard
|
||||
```bash
|
||||
# Train on real ETH/USDT data
|
||||
# Train on real ETH/USDT data with TensorBoard monitoring
|
||||
python main_clean.py --mode cnn --symbol ETH/USDT
|
||||
|
||||
# Monitor training in real-time
|
||||
tensorboard --logdir=runs
|
||||
|
||||
# Or use the convenience script
|
||||
python run_tensorboard.py
|
||||
|
||||
# Quick test with real data
|
||||
python test_cnn_only.py
|
||||
```
|
||||
|
||||
### RL Training
|
||||
### RL Training with TensorBoard
|
||||
```bash
|
||||
# Train RL agent with real data
|
||||
python main_clean.py --mode rl --symbol ETH/USDT
|
||||
|
||||
# Real-time RL training
|
||||
python train_rl_with_realtime.py --episodes 10
|
||||
|
||||
# Monitor RL training metrics
|
||||
tensorboard --logdir=runs
|
||||
```
|
||||
|
||||
## TensorBoard Monitoring
|
||||
|
||||
All training sessions are logged to TensorBoard for real-time monitoring:
|
||||
|
||||
```bash
|
||||
# Start TensorBoard server
|
||||
tensorboard --logdir=runs
|
||||
|
||||
# Or use the convenience script
|
||||
python run_tensorboard.py
|
||||
```
|
||||
|
||||
**Metrics Available:**
|
||||
- **CNN Training**: Loss, accuracy, confidence scores, feature statistics
|
||||
- **RL Training**: Rewards, returns, win rates, epsilon values, trading metrics
|
||||
- **Model Architecture**: Parameter counts, memory usage
|
||||
- **Real-time Updates**: Batch-level and epoch-level metrics
|
||||
|
||||
Access TensorBoard at: http://localhost:6006
|
||||
|
||||
## Performance
|
||||
|
||||
- **Memory Usage**: <2GB per model
|
||||
|
Reference in New Issue
Block a user