資源簡介
利用Caffe提供的腳本程序和Caffe訓練日志畫loss曲線與accuracy曲線。加強版,可以繪制對比曲線。辛辛苦苦修改作成的代碼,大家還是給點兒資源分做鼓勵吧,如果實在需要又沒有資源分,請根據博客留下的聯系方式聯系我,發送到你郵箱。
代碼片段和文件信息
#if?defined(_MSC_VER)
#include?
#define?getpid()?_getpid()
#endif
#include?
#include?
#include?
#include?
#include?
#include?“caffe/common.hpp“
#include?“caffe/util/rng.hpp“
//add?for?log?output?by?fwy?start
#include???
#include???
#include???
//add?for?log?output?by?fwy?end
namespace?caffe?{
//?Make?sure?each?thread?can?have?different?values.
static?boost::thread_specific_ptr?thread_instance_;
Caffe&?Caffe::Get()?{
??if?(!thread_instance_.get())?{
????thread_instance_.reset(new?Caffe());
??}
??return?*(thread_instance_.get());
}
//?random?seeding
int64_t?cluster_seedgen(void)?{
??int64_t?s?seed?pid;
??FILE*?f?=?fopen(“/dev/urandom“
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????104349??2017-03-16?14:23??plot_training_log\Cifar10_Net0_20000_diff.log
?????文件?????947840??2017-03-17?13:13??plot_training_log\Cifar10_Net1_20000_equal.log
?????文件??????12461??2017-03-16?11:47??plot_training_log\common.cpp
?????文件???????2208??2017-03-11?16:36??plot_training_log\extract_seconds.py
?????文件???????2488??2017-03-17?10:56??plot_training_log\extract_seconds.pyc
?????文件???????7179??2017-03-15?19:39??plot_training_log\parse_log.py
?????文件???????5737??2017-03-17?10:56??plot_training_log\parse_log.pyc
?????文件??????13135??2017-03-17?10:33??plot_training_log\plot_training_log_diff.py
?????文件??????13258??2017-03-17?17:22??plot_training_log\plot_training_log_equal.py
?????文件???????2000??2017-03-20?09:26??plot_training_log\ReadMe_fwy.txt
?????目錄??????????0??2017-03-20?09:27??plot_training_log
-----------?---------??----------?-----??----
??????????????1110655????????????????????11
- 上一篇:ECC算法c代碼
- 下一篇:ANSYS接觸詳細分析
評論
共有 條評論