You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If `record_mean_var` is `True`, then mean and variances for layers in `record_layers` list will be logged in checkpoints directory. You can also specify recording frequency per epoch. All these mentioned parameters can be modified in `config_bayesian.py`.
85
+
If `record_mean_var` is `True`, then mean and variances for layers in `record_layers` list will be logged in checkpoints directory. Recording frequency per epoch can be defined. All these mentioned parameters can be modified in the `config_bayesian.py` file.
102
86
87
+
#### DistPlots
88
+

89
+

90
+

91
+
92
+
#### LinePlots
103
93

104
94

105
95
@@ -111,18 +101,32 @@ If `record_mean_var` is `True`, then mean and variances for layers in `record_la
111
101
3. Choosing `recording_freq_per_epoch` higher than number of training iterations will raise `ZeroDivisionError`.
112
102
113
103
In order to visualize the recorded values, `visualize_mean_var.py` contains `draw_distributions` and `draw_lineplot` methods. Following are the arguments which needs to be passed to `visualize_mean_var.py`:
114
-
1.`--filename`: Path to log file.
115
-
2.`--data_type`: Draw plots for what? `mean` or `std`? Default is `'mean'`.
116
-
3.`--node_no`: Index of the node for which to draw plots. Index is after flattening of the layer. Default is 0 i.e, first node.
117
-
4.`--plot_type`: Which plot to draw? Currently we support lineplot and distplot. Default is `'lineplot'`.
118
-
5.`--plot_time`: Pauses the plot for this much amount of time before updating it. Default is 1 second.
119
-
6.`--save_plots`: Whether to save plots or not. Default is 0 for No. 1 is for Yes.
120
-
7.`--save_dir`: Directory for saving plots. Must end with `'/'`. If not provided, default directory will be `filename_directory/plots/`.
104
+
*`--filename`: Path to log file.
105
+
*`--data_type`: Draw plots for what? `mean`, `std` or `both`? Default is `'mean'`.
106
+
*`--node_no`: Index of the node for which to draw plots. Index is after flattening of the layer. Default is 0 i.e, first node.
107
+
*`--plot_type`: Which plot to draw? Currently we support lineplot and distplot. Default is `'lineplot'`.
108
+
*`--plot_time`: Pauses the plot for this much amount of time before updating it. Default is 1 second.
109
+
*`--save_plots`: Whether to save plots or not. Default is 0 for No. 1 is for Yes.
110
+
*`--save_dir`: Directory for saving plots. Must end with `'/'`. If not provided, default directory will be `filename_directory/plots/`.
0 commit comments