Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int j = 0; j <= 5; ++j) {
- std::cout << "Train with image " << j << std::endl;
- char *file = new char[255];
- sprintf(file, "C:\\Users\lab\\Downloads\\conv_images\\img1_%d", j);
- float *in = ImageTools::readImageGray8ToFloat(QString(file), w, h, 0.1, 0.9);
- images.push_back(in);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement