facenet
facenet copied to clipboard
[bug] Plotting using matlab, some functions are missing in plot_learning_curves.m
Hi, I tried to use this code to plot some curves for my results and I found that there are some functions that are missing like "Undefined function or variable 'combineStyles'".
Does anyone have a working code or had defined that function please ? and thanks !
I have the same problem with you.
Same here, I hope someone could help us because I really need it, I would appreciate that.
It seems just to combine colors, markers and line styles. You can just choose one, like '*b', '-b'. If you have several training results to plot, just set a cell like lineStyles={'*b', 'xr'}.
can you tell me detail plz><
yes @Zhengyu-Li I know thanks but I'm not familiar with Matlab and I tried to change the code a little bit but didn't work, I hope you could help if possible and thanks !
This combineStyles( )
function is not defined in MATLAB. An implementation of the function is not provided either. That's what is causing the error message.
A simple way to fix this issue is to rewrite both line styles. Something like:
lineStyles = {'b.', 'go', 'rx', 'c+', 'm*', 'ys', 'kd'};
lineStyles2 = {'b-', 'g-.', 'r--', 'c:', 'm--', 'y-', 'k-.'};

@hyderit
how can i fix the code
@hyderit Hello, do you meet one problem as follows?
Unrecognized function or variable 'readlogs'.
I am really looking forward to your reply and others help.
@wencoast This script is used to visualize the train and test plots. You can instead use the h5py files produced after the training is done to visualize the graphs using python instead of using matlab.
In train_softmax.py script you can find in both train() and validate() functions a stat dictionary that contains information (Accuracies, losses, ...) about the train/test and validation of the model after it ends the training.