Open psyhtest opened 7 years ago
This should also solve the current problem e.g. with program:caffe-classification-cuda
:
$ ck run program:caffe-classification-cuda
...
0) default ($#BIN_FILE#$ $<<CK_CAFFE_MODEL_FILE>>$ $<<CK_CAFFE_MODEL_WEIGHTS>>$ $#up_dir#$imagenet_mean.binaryproto $#up_dir#$synset_words.txt $#dataset_path#$$#dataset_filename#$)
1) use_continuous ($#BIN_FILE#$ $<<CK_CAFFE_MODEL_FILE>>$ $<<CK_CAFFE_MODEL_WEIGHTS>>$ $<<CK_CAFFE_IMAGENET_MEAN_BIN>>$ $<<CK_CAFFE_IMAGENET_SYNSET_WORDS_TXT>>$ --continuous $<<CK_CAFFE_IMAGENET_VAL>>$ $<<CK_CAFFE_IMAGENET_VAL_TXT>>$)
2) use_external_image ($#BIN_FILE#$ $<<CK_CAFFE_MODEL_FILE>>$ $<<CK_CAFFE_MODEL_WEIGHTS>>$ $#up_dir#$imagenet_mean.binaryproto $#up_dir#$synset_words.txt $<<CK_CAFFE_PATH_TO_IMAGE>>$)
where the commands 0 and 2 refer to the up_dir
which is not correct for the ResNet's...
The CK-Caffe repository contains several duplicate files:
These should be moved into separate entries, with dependencies set up on them.