mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
doing some testing w/o rand
This commit is contained in:
parent
2f62fe33c9
commit
7ee45082f1
@ -225,7 +225,8 @@ char *basename(char *cfgfile)
|
|||||||
void train_imagenet(char *cfgfile, char *weightfile)
|
void train_imagenet(char *cfgfile, char *weightfile)
|
||||||
{
|
{
|
||||||
float avg_loss = -1;
|
float avg_loss = -1;
|
||||||
srand(time(0));
|
// TODO
|
||||||
|
srand(0);
|
||||||
char *base = basename(cfgfile);
|
char *base = basename(cfgfile);
|
||||||
printf("%s\n", base);
|
printf("%s\n", base);
|
||||||
network net = parse_network_cfg(cfgfile);
|
network net = parse_network_cfg(cfgfile);
|
||||||
|
Loading…
Reference in New Issue
Block a user