1 min read
I want to write this code to newly created file labelmap.pbtxt on google Colab. How should I do that?
item { Â Â id: 1 Â Â name: 'door' } Â item { Â Â id: 2 Â Â name: 'room' } Â item { Â Â id: 3 Â Â name: 'wall' } item { Â Â id:4 Â Â name: 'window' }
Vishal Sharma Selected answer as best July 17, 2019
1 min read
It is very simple to create any file on google colab, For example let takes this case.
To create labelmap.txt we have to use %%writefile filename.format on the cell
%%writefile labelmap.pbtxt item { id: 1 name: 'door'}, item { id: 2 name: 'room'}, item { id: 3 name: 'wall'}, item { id: 4 name: 'window'}
This will labelmap.pbtxt to your google colab. Hope so you will be able to file labelmap.pbtxt on your google colab.
for testing purpose , Go to files on google colab, and see Is there any labelmap.pbtxt file, If it is there, then code is successfully done it work.
Vishal Sharma Selected answer as best July 17, 2019