how to provide input for the resnet50?
hi, i am trying to execute ./bin/resnet-training and unable to figure out how to provide input for it.

./bin/resnet-training -help suggests

usage: resnet-training [options] --input-image-list-file name of the file containing list of images (one image per line)

however i dont understand what a "…
i think it’s just a file with a list of file paths comma separated with the label for that image:

/path/to/cat.png,285

/path/to/dog.png,207

/path/to/zebra.png,340
[@jbcousins92](/u/jbcousins92) i took a look at your repository and it looks like the course is expecting you to add the image in the \_includes/02-image.md file instead of the index.md file. can you try adding the same image there and letting the bot check it out? How you do this will depend on a number of factors: since you haven't tried to explain in any detail, I'll assume you know nothing, and just give you the basics.  

  

The easiest way to do this is to read the text file into a single string, and then use the .NET framework to find the match:  


```
Dim text As String = File.ReadAllText("D:\Temp\MyFile.txt")
Dim index As Integer = text.IndexOf("hello")
If index >= 0 Then
   ' String is in file, starting at character "index"
End If
```
  

There are other ways, but that is pretty much the simplest. Hi Valdeth. You should use input and output file streams if you want to write and read from a file. Basically you open the file for writing and once you are done close the file. Later you can open the file for reading. The example below reads numbers from the file and just prints them out. If you want to read the file line by line you should look at the getline() function. I have just used your initial array to come up with a result per array which gives the product of all negative numbers in the array. Note that there **HAS** to be at least 1 negative number per array.



```
const int m=4, n=5;
	int i,j;
	int num;
	int result;
	int A[m][n]={{5,3,-4,8,2},
				 {1,5,2,7,-8},
				 {-3,9,5,2,4},
				 {4,-1,3,6,8}};

	ofstream outfile;
	ifstream infile; 

	outfile.open("c:/matrix/matrix.txt");

	for (i=0;i<m;i++)
	{
		result = 1;

		for (j=0;j<n;j++)
		{
			outfile << setw(3)<< A[i][j];

                            // Multiply negative numbers in each array (has to be at least 1 negative number in each array)
			if (A[i][j] < 0)              				                      result *= A[i][j];  // result = result x A[i][j]
		}
		cout << "Result of array " << i << " is " << result << endl;
		outfile << "\n";
	}

	outfile.close(); // Close for writing

	infile.open("c:/matrix/matrix.txt"); // opens the file
    
	infile >> num;
	while ( !infile.eof() ) 
	{ // keep reading until end-of-file
		cout << "The next number is " << num << endl;
		infile >> num; // sets EOF flag if no value found
	}
	infile.close();  //Close for reading
``` [[image]](https://forumosa-12829.kxcdn.com/uploads/default/original/3x/5/9/59773d6579419c6273e05501955714ec7278bbbf.png "image")

30ntd to terminal 1 Here's the diagram you requested. All the best!  

Greg  

![I need a serpentine belt routing diagram for a - c528ac5.gif](http://i.fixya.net/uploads/images/c528ac5.gif) not [full disclosure] a linux person per se.

something similar to the following should work:

https://www.unix.com/shell-programming-and-scripting/68166-converting-integer-string.html

start simple with just enough code to test the concept.

see if it works and modify/correct as necessary.

then if it still does not work, then post your documented code accordingly along an explanation of what is or is not happening as you expect or desire. [image][queries and resolvers](https://forums.fauna.com/t/queries-and-resolvers/597/3)

do you have any feedback on the difficulties i am having doing this and any suggestions as to how i should be approaching this problem?

perhaps there is something i’m clearly misunderstanding that can be addressed in a reference article or section of the documentat… even if you get the binary contents, decoding it is quite the undertaking. you can find the format specs here if you want to try it, though:

[image]

[png specification: file structure](http://www.libpng.org/pub/png/spec/1.2/png-structure.html)

there are existing implementations in lua, such as [this one](https://github.com/delusionallogic/pnglua), but they don’t cove… This is a site for helping people with computers, programming and networking issues. If you need assistance you need to provide as much detail as you can as we cover a wide range of knowledge. List your device, operating system like Windows, Linux or Mac, the program or application and any error messages. This will help us in getting  you a faster and more accurate response. We all have areas of different expertise , otherwise all we can provide is our best guess answer. You would be better off contacting Bissel for support. You may also want to check out YouTube.. They have lots of [repair videos](https://www.youtube.com/watch?v=56IPl2r-Wks) Well, the only piece of the code you wrote that will be of any use for that assignment at all is the Scanner (though a BufferedReader would be my own choice for that). The instructions are pretty clearly laid out and does tell you what you need to use from that jss2 folder.



You need to read the file line by line. The first line is the input to create the BST. For the rest of the lines you will need to parse and match the command token to the appropriate action to take on the BST. String.split() will be useful for that part to separate <command> <parameters>.



So time to crack the books and get a start on it. Post specific questions if you run into trouble. Good luck!