-
Notifications
You must be signed in to change notification settings - Fork 0
/
a1_Logs_TensorFlowServing.txt
870 lines (842 loc) · 74.5 KB
/
a1_Logs_TensorFlowServing.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
### Installation TensorFlowServing with Python 3.6 === https://pypi.python.org/pypi/tensorflow-serving-api/1.6.0
# got the "tensorflow_serving_api-1.6.0-py2-none-any.whl" --- unpacked Two DIR's --- copied both DIR's at below location ...
# My Local DIR for Serving == /home/dhankar/anaconda2/envs/tensor/lib/python3.6/site-packages/tensorflow_serving
# This above may not work -- may have to Install Binaries with BAZEL :P
#
dhankar@dhankar-VPCEB44EN:~$ conda info -h
usage: conda info [-h] [--json] [--debug] [--verbose] [--offline] [-a] [-e]
[-l] [-s] [--root] [--unsafe-channels]
[packages [packages ...]]
Display information about current conda install.
Options:
positional arguments:
packages Display information about packages.
optional arguments:
-h, --help Show this help message and exit.
--json Report all output as json. Suitable for using conda
programmatically.
--debug Show debug output.
--verbose, -v Use once for info, twice for debug, three times for
trace.
--offline Offline mode, don't connect to the Internet.
-a, --all Show all information, (environments, license, and system
information.
-e, --envs List all known conda environments.
-l, --license Display information about the local conda licenses list.
-s, --system List environment variables.
--root Display root environment path.
--unsafe-channels Display list of channels with tokens exposed.
Examples:
conda info -a
dhankar@dhankar-VPCEB44EN:~$ conda info -a
Current conda install:
platform : linux-64
conda version : 4.3.25
conda is private : False
conda-env version : 4.3.25
conda-build version : 2.0.2
python version : 2.7.12.final.0
requests version : 2.14.2
root environment : /home/dhankar/anaconda2 (writable)
default environment : /home/dhankar/anaconda2
envs directories : /home/dhankar/anaconda2/envs
/home/dhankar/.conda/envs
package cache : /home/dhankar/anaconda2/pkgs
/home/dhankar/.conda/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : None
netrc file : /home/dhankar/.netrc
offline mode : False
user-agent : conda/4.3.25 requests/2.14.2 CPython/2.7.12 Linux/4.4.0-116-generic debian/stretch/sid glibc/2.23
UID:GID : 1000:1000
# conda environments:
#
Venv1 /home/dhankar/anaconda2/envs/Venv1
dc_info_venv /home/dhankar/anaconda2/envs/dc_info_venv
django_excel_venv /home/dhankar/anaconda2/envs/django_excel_venv
dlib_opencv /home/dhankar/anaconda2/envs/dlib_opencv
elastic_venv /home/dhankar/anaconda2/envs/elastic_venv
elastic_venv_py35 /home/dhankar/anaconda2/envs/elastic_venv_py35
elastic_venv_py352 /home/dhankar/anaconda2/envs/elastic_venv_py352
gisenv /home/dhankar/anaconda2/envs/gisenv
hack /home/dhankar/anaconda2/envs/hack
ipykernel_py34 /home/dhankar/anaconda2/envs/ipykernel_py34
opencv1_py3 /home/dhankar/anaconda2/envs/opencv1_py3
pdfparsing /home/dhankar/anaconda2/envs/pdfparsing
py27 /home/dhankar/anaconda2/envs/py27
py27infHo /home/dhankar/anaconda2/envs/py27infHo
py27infoBOT /home/dhankar/anaconda2/envs/py27infoBOT
py35 /home/dhankar/anaconda2/envs/py35
py35infoBOT /home/dhankar/anaconda2/envs/py35infoBOT
rt_ave /home/dhankar/anaconda2/envs/rt_ave
tensor /home/dhankar/anaconda2/envs/tensor
root * /home/dhankar/anaconda2
sys.version: 2.7.12 |Anaconda 4.2.0 (64-bit)| (defaul...
sys.prefix: /home/dhankar/anaconda2
sys.executable: /home/dhankar/anaconda2/bin/python
conda location: /home/dhankar/anaconda2/lib/python2.7/site-packages/conda
conda-build: /home/dhankar/anaconda2/bin/conda-build
conda-convert: /home/dhankar/anaconda2/bin/conda-convert
conda-develop: /home/dhankar/anaconda2/bin/conda-develop
conda-env: /home/dhankar/anaconda2/bin/conda-env
conda-index: /home/dhankar/anaconda2/bin/conda-index
conda-inspect: /home/dhankar/anaconda2/bin/conda-inspect
conda-metapackage: /home/dhankar/anaconda2/bin/conda-metapackage
conda-render: /home/dhankar/anaconda2/bin/conda-render
conda-server: /home/dhankar/anaconda2/bin/conda-server
conda-sign: /home/dhankar/anaconda2/bin/conda-sign
conda-skeleton: /home/dhankar/anaconda2/bin/conda-skeleton
user site dirs: ~/.local/lib/python2.7
~/.local/lib/python3.5
CIO_TEST: <not set>
CONDA_DEFAULT_ENV: <not set>
CONDA_ENVS_PATH: <not set>
LD_LIBRARY_PATH: /home/dhankar/anaconda2/pkgs/mkl-11.3.3-0/lib/:/usr/local/lib
PATH: /home/dhankar/Nutch1/ant//bin:/home/dhankar/spark-2.0.2-bin-hadoop2.7/bin:/home/dhankar/scala-2.12.0/bin:/home/dhankar/usr/lib/jvm/java-8-oracle//bin:/home/dhankar/anaconda2/bin:/home/dhankar/bin:/home/dhankar/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/bin/java:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/dhankar/a____FB_ChatBot/a______a_SCrapingAllOWN/a_______Scrapy_All_Own/geckodriver:/home/dhankar/a____FB_ChatBot/a______a_SCrapingAllOWN/a_______Scrapy_All_Own/chromedriver:/home/dhankar/a____FB_ChatBot/a______a_SCrapingAllOWN/a_______Scrapy_All_Own/phantomjs
PYTHONHOME: <not set>
PYTHONPATH: /home/dhankar/.qgis2/python/plugins/SemiAutomaticClassificationPlugin
License directories:
/home/dhankar/.continuum
/home/dhankar/anaconda2/licenses
License files (license*.txt):
Package/feature end dates:
dhankar@dhankar-VPCEB44EN:~$
dhankar@dhankar-VPCEB44EN:~$ source activate tensor
(tensor) dhankar@dhankar-VPCEB44EN:~$ cd /media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$
#### FART ---- gRPC
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial$ git init
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial$ _Initial/.git/
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial$ git clone -b v1.10.x https://github.com/grpc/grpc
Cloning into 'grpc'...
remote: Counting objects: 368727, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 368727 (delta 0), reused 0 (delta 0), pack-reused 368716
Receiving objects: 100% (368727/368727), 164.90 MiB | 1.24 MiB/s, done.
Resolving deltas: 100% (283588/283588), done.
Checking connectivity... done.
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial$
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial$ ls
grpc
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial$ cd grpc
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$ ls
AUTHORS CODE-OF-CONDUCT.md examples grpc.gyp Makefile README.md test
bazel composer.json Gemfile gRPC.podspec MANIFEST.md requirements.txt third_party
BUILD config.m4 grpc.bzl gRPC-ProtoRPC.podspec NOTICE.txt setup.cfg tools
build_config.rb config.w32 gRPC-Core.podspec gRPC-RxLibrary.podspec OWNERS setup.py vsprojects
build.yaml CONTRIBUTING.md gRPC-C++.podspec include package.xml src WORKSPACE
cmake doc grpc.def INSTALL.md PYTHON-MANIFEST.in summerofcode
CMakeLists.txt etc grpc.gemspec LICENSE Rakefile templates
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$ # Source -- https://grpc.io/docs/tutorials/basic/python.html
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$
#
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$ cd examples/python/route_guide
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/route_guide$
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/route_guide$ ls
README.md route_guide_db.json route_guide_pb2.py route_guide_server.py
route_guide_client.py route_guide_pb2_grpc.py route_guide_resources.py run_codegen.py
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/route_guide$ ## Source -- https://grpc.io/docs/quickstart/python.html
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/route_guide$
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/route_guide$ python -m pip install grpcio
Collecting grpcio
Downloading grpcio-1.10.0-cp27-cp27mu-manylinux1_x86_64.whl (7.4MB)
100% |████████████████████████████████| 7.4MB 94kB/s
Requirement already satisfied: futures>=2.2.0 in /home/dhankar/anaconda2/lib/python2.7/site-packages (from grpcio)
Collecting protobuf>=3.5.0.post1 (from grpcio)
Downloading protobuf-3.5.2.post1-cp27-cp27mu-manylinux1_x86_64.whl (6.4MB)
100% |████████████████████████████████| 6.4MB 122kB/s
Requirement already satisfied: enum34>=1.0.4 in /home/dhankar/anaconda2/lib/python2.7/site-packages (from grpcio)
Requirement already satisfied: six>=1.5.2 in /home/dhankar/anaconda2/lib/python2.7/site-packages (from grpcio)
Requirement already satisfied: setuptools in /home/dhankar/anaconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg (from protobuf>=3.5.0.post1->grpcio)
Installing collected packages: protobuf, grpcio
Successfully installed grpcio-1.10.0 protobuf-3.5.2.post1
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/route_guide$
#
/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/route_guide$ python -m pip install grpcio-tools
Collecting grpcio-tools
Downloading grpcio_tools-1.10.0-cp36-cp36m-manylinux1_x86_64.whl (22.2MB)
100% |████████████████████████████████| 22.2MB 14kB/s
Requirement already satisfied: grpcio>=1.10.0 in /home/dhankar/anaconda2/envs/tensor/lib/python3.6/site-packages (from grpcio-tools)
Requirement already satisfied: protobuf>=3.5.0.post1 in /home/dhankar/anaconda2/envs/tensor/lib/python3.6/site-packages (from grpcio-tools)
Requirement already satisfied: six>=1.5.2 in /home/dhankar/anaconda2/envs/tensor/lib/python3.6/site-packages (from grpcio>=1.10.0->grpcio-tools)
Requirement already satisfied: setuptools in /home/dhankar/anaconda2/envs/tensor/lib/python3.6/site-packages (from protobuf>=3.5.0.post1->grpcio-tools)
Installing collected packages: grpcio-tools
Successfully installed grpcio-tools-1.10.0
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/route_guide$
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ cd gRPC_Initial
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial$ ls
grpc
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial$ cd grpc
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$ ls
AUTHORS CODE-OF-CONDUCT.md examples grpc.gyp Makefile README.md test
bazel composer.json Gemfile gRPC.podspec MANIFEST.md requirements.txt third_party
BUILD config.m4 grpc.bzl gRPC-ProtoRPC.podspec NOTICE.txt setup.cfg tools
build_config.rb config.w32 gRPC-Core.podspec gRPC-RxLibrary.podspec OWNERS setup.py vsprojects
build.yaml CONTRIBUTING.md gRPC-C++.podspec include package.xml src WORKSPACE
cmake doc grpc.def INSTALL.md PYTHON-MANIFEST.in summerofcode
CMakeLists.txt etc grpc.gemspec LICENSE Rakefile templates
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$ cd examples
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples$ ls
BUILD cpp csharp node objective-c php protos python README.md ruby
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples$ cd protos
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/protos$ ls
auth_sample.proto hellostreamingworld.proto helloworld.proto README.md route_guide.proto
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/protos$ gedit helloworld.proto
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/protos$ sudo gedit helloworld.proto
#
# FART ---- Initial Proto File ----
#
#
// Copyright 2015 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
option java_multiple_files = true;
option java_package = "io.grpc.examples.helloworld";
option java_outer_classname = "HelloWorldProto";
option objc_class_prefix = "HLW";
package helloworld;
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
}
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial$ cd grpc
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$ ls
AUTHORS CODE-OF-CONDUCT.md examples grpc.gyp Makefile README.md test
bazel composer.json Gemfile gRPC.podspec MANIFEST.md requirements.txt third_party
BUILD config.m4 grpc.bzl gRPC-ProtoRPC.podspec NOTICE.txt setup.cfg tools
build_config.rb config.w32 gRPC-Core.podspec gRPC-RxLibrary.podspec OWNERS setup.py vsprojects
build.yaml CONTRIBUTING.md gRPC-C++.podspec include package.xml src WORKSPACE
cmake doc grpc.def INSTALL.md PYTHON-MANIFEST.in summerofcode
CMakeLists.txt etc grpc.gemspec LICENSE Rakefile templates
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc$ cd examples
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples$ ls
BUILD cpp csharp node objective-c php protos python README.md ruby
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples$ cd protos
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/protos$ ls
auth_sample.proto hellostreamingworld.proto helloworld.proto README.md route_guide.proto
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/protos$ gedit helloworld.proto
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/protos$ sudo gedit helloworld.proto
[sudo] password for dhankar:
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/protos$ cd ..
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples$ ls
BUILD cpp csharp node objective-c php protos python README.md ruby
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples$ cd python
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python$ ls
helloworld interceptors multiplex README.md route_guide
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python$ cd helloworld
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/helloworld$ ls
greeter_client.py greeter_server.py helloworld_pb2_grpc.py helloworld_pb2.py __pycache__ README.md
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/helloworld$ python greeter_client.py
Greeter client received: Hello, you!
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/helloworld$ python greeter_client.py
Greeter client received: Hello, you!
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/helloworld$ python greeter_client.py
Greeter client received: THIS IS THE REPLY TO THE HELLO --- Hello, you!
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/gRPC_Initial/grpc/examples/python/helloworld$ python greeter_client.py
Greeter client received: THIS IS THE REPLY TO THE HELLO --- Hello, you!
Greeter client received -- 2nd MESSAGE : Hello again mate ...., you!
#
#
# FART ---- Bazel Install
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ sudo apt-get update && sudo apt-get install -y \
> build-essential \
> curl \
> libcurl3-dev \
> git \
> libfreetype6-dev \
> libpng12-dev \
> libzmq3-dev \
> pkg-config \
> python-dev \
> python-numpy \
> python-pip \
> software-properties-common \
> swig \
> zip \
> zlib1g-dev
[sudo] password for dhankar:
Ign:1 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial InRelease
Ign:2 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial Release
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Err:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Hit:17 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial InRelease
Hit:18 http://archive.canonical.com/ubuntu xenial InRelease
Hit:19 http://qgis.org/debian xenial InRelease
Ign:20 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:21 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:22 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:24 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0 InRelease
Hit:25 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease
Ign:26 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease
Ign:27 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0 Release
Get:28 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release [3,457 B]
Ign:29 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Ign:30 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:31 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Hit:32 http://dl.google.com/linux/chrome/deb stable Release
Hit:33 https://repo.skype.com/deb stable InRelease
Get:34 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Ign:35 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:36 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Hit:37 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Hit:39 https://download.docker.com/linux/ubuntu xenial InRelease
Get:40 https://cran.rstudio.com/bin/linux/ubuntu xenial/ InRelease [3,590 B]
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Get:42 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release.gpg [801 B]
Ign:29 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Ign:30 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:31 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Get:44 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Ign:35 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:36 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Ign:29 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Ign:30 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:31 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Get:46 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [744 kB]
Ign:47 https://artifacts.elastic.co/packages/5.x/apt stable InRelease
Err:42 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release.gpg
The following signatures were invalid: KEYEXPIRED 1515625755
Hit:48 https://artifacts.elastic.co/packages/5.x/apt stable Release
Ign:35 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:36 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Err:45 https://deb.opera.com/opera-stable stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D615560BA5C7FF72
Get:49 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [690 kB]
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Ign:29 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Ign:30 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Get:50 https://artifacts.elastic.co/packages/5.x/apt stable Release.gpg [473 B]
Ign:31 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Get:51 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [317 kB]
Ign:50 https://artifacts.elastic.co/packages/5.x/apt stable Release.gpg
Get:52 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [231 kB]
Get:53 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [615 kB]
Get:54 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [570 kB]
Hit:55 https://cran.csiro.au/bin/linux/ubuntu xenial/ InRelease
Get:56 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [241 kB]
Ign:35 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:36 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Ign:29 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Ign:30 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:31 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Get:57 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [321 kB]
Get:58 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,972 B]
Get:59 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:60 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,088 B]
Get:61 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.4 kB]
Get:62 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [77.2 kB]
Get:63 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
Get:64 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [139 kB]
Ign:35 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:36 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Err:29 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
404 Not Found
Ign:30 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:31 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Ign:35 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:36 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Fetched 4,447 kB in 5s (816 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
W: The repository 'cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0 Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release: The following signatures were invalid: KEYEXPIRED 1515625755
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.opera.com/opera-stable stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D615560BA5C7FF72
W: GPG error: https://artifacts.elastic.co/packages/5.x/apt stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D27D666CD88E42B4
W: The repository 'https://artifacts.elastic.co/packages/5.x/apt stable Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Failed to fetch https://deb.opera.com/opera-stable/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D615560BA5C7FF72
E: Failed to fetch cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.0/multiverse/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.4/Release.gpg The following signatures were invalid: KEYEXPIRED 1515625755
W: Some index files failed to download. They have been ignored, or old ones used instead.
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ pip install tensorflow-serving-api
Collecting tensorflow-serving-api
Could not find a version that satisfies the requirement tensorflow-serving-api (from versions: )
No matching distribution found for tensorflow-serving-api
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ ls
a1_Logs_TensorFlowServing.txt gRPC_Initial README.md
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ sudo apt-get install openjdk-8-jdk
[sudo] password for dhankar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libxt-dev openjdk-8-jdk-headless
Suggested packages:
libxt-doc openjdk-8-demo openjdk-8-source visualvm
The following NEW packages will be installed:
libxt-dev openjdk-8-jdk openjdk-8-jdk-headless
0 upgraded, 3 newly installed, 0 to remove and 374 not upgraded.
Need to get 9,043 kB of archives.
After this operation, 41.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxt-dev amd64 1:1.1.5-0ubuntu1 [394 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jdk-headless amd64 8u151-b12-0ubuntu0.16.04.2 [8,198 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jdk amd64 8u151-b12-0ubuntu0.16.04.2 [451 kB]
Fetched 9,043 kB in 4s (1,855 kB/s)
Selecting previously unselected package libxt-dev:amd64.
(Reading database ... 431159 files and directories currently installed.)
Preparing to unpack .../libxt-dev_1%3a1.1.5-0ubuntu1_amd64.deb ...
Unpacking libxt-dev:amd64 (1:1.1.5-0ubuntu1) ...
Selecting previously unselected package openjdk-8-jdk-headless:amd64.
Preparing to unpack .../openjdk-8-jdk-headless_8u151-b12-0ubuntu0.16.04.2_amd64.deb ...
Unpacking openjdk-8-jdk-headless:amd64 (8u151-b12-0ubuntu0.16.04.2) ...
Selecting previously unselected package openjdk-8-jdk:amd64.
Preparing to unpack .../openjdk-8-jdk_8u151-b12-0ubuntu0.16.04.2_amd64.deb ...
Unpacking openjdk-8-jdk:amd64 (8u151-b12-0ubuntu0.16.04.2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libxt-dev:amd64 (1:1.1.5-0ubuntu1) ...
Setting up openjdk-8-jdk-headless:amd64 (8u151-b12-0ubuntu0.16.04.2) ...
Setting up openjdk-8-jdk:amd64 (8u151-b12-0ubuntu0.16.04.2) ...
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3157 100 3157 0 0 4606 0 --:--:-- --:--:-- --:--:-- 8094
OK
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ sudo apt-get update && sudo apt-get install bazel
Ign:1 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial InRelease
Ign:2 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial Release
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Ign:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:5 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main all Packages
Ign:6 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en_IN
Ign:7 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main Translation-en
Ign:8 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 DEP-11 Metadata
Ign:9 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main DEP-11 64x64 Icons
Ign:10 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 Packages
Ign:11 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted i386 Packages
Ign:12 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted all Packages
Ign:13 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en_IN
Ign:14 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted Translation-en
Ign:15 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted amd64 DEP-11 Metadata
Ign:16 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/restricted DEP-11 64x64 Icons
Err:3 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main amd64 Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign:4 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial/main i386 Packages
Ign:17 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:18 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:19 http://archive.canonical.com/ubuntu xenial InRelease
Ign:20 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0 InRelease
Hit:21 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial InRelease
Hit:22 http://qgis.org/debian xenial InRelease
Ign:23 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease
Ign:24 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0 Release
Hit:25 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:26 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:27 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:28 http://archive.ubuntu.com/ubuntu xenial-security InRelease
Get:29 http://storage.googleapis.com/bazel-apt stable InRelease [2,464 B]
Get:30 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release [3,457 B]
Hit:31 http://dl.google.com/linux/chrome/deb stable Release
Ign:32 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Hit:33 https://repo.skype.com/deb stable InRelease
Hit:34 https://cran.rstudio.com/bin/linux/ubuntu xenial/ InRelease
Hit:35 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease
Hit:36 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:37 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:39 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:42 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:43 https://artifacts.elastic.co/packages/5.x/apt stable InRelease
Ign:44 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Get:46 https://artifacts.elastic.co/packages/5.x/apt stable Release [4,360 B]
Ign:47 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Get:48 http://storage.googleapis.com/bazel-apt stable/jdk1.8 amd64 Packages [601 B]
Get:49 https://artifacts.elastic.co/packages/5.x/apt stable Release.gpg [473 B]
Get:50 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release.gpg [801 B]
Hit:51 https://cran.csiro.au/bin/linux/ubuntu xenial/ InRelease
Ign:32 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Err:40 https://deb.opera.com/opera-stable stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D615560BA5C7FF72
Ign:49 https://artifacts.elastic.co/packages/5.x/apt stable Release.gpg
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Err:50 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release.gpg
The following signatures were invalid: KEYEXPIRED 1515625755
Ign:39 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:42 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:44 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Hit:52 https://artifacts.elastic.co/packages/5.x/apt stable/main amd64 Packages
Ign:52 https://artifacts.elastic.co/packages/5.x/apt stable/main amd64 Packages
Hit:53 https://artifacts.elastic.co/packages/5.x/apt stable/main i386 Packages
Ign:53 https://artifacts.elastic.co/packages/5.x/apt stable/main i386 Packages
Ign:47 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Ign:32 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Hit:52 https://artifacts.elastic.co/packages/5.x/apt stable/main amd64 Packages
Hit:53 https://artifacts.elastic.co/packages/5.x/apt stable/main i386 Packages
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:39 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:42 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:44 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Ign:47 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Ign:32 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:39 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:42 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:44 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Ign:47 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Ign:32 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:39 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:42 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:44 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Ign:47 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Err:32 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Packages
404 Not Found
Ign:38 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse i386 Packages
Ign:39 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse all Packages
Ign:41 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en_IN
Ign:42 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse Translation-en
Ign:44 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 DEP-11 Metadata
Ign:47 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse DEP-11 64x64 Icons
Fetched 12.2 kB in 10s (1,210 B/s)
Reading package lists... Done
W: The repository 'cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0 Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.opera.com/opera-stable stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D615560BA5C7FF72
W: GPG error: https://artifacts.elastic.co/packages/5.x/apt stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D27D666CD88E42B4
W: The repository 'https://artifacts.elastic.co/packages/5.x/apt stable Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release: The following signatures were invalid: KEYEXPIRED 1515625755
W: Failed to fetch https://deb.opera.com/opera-stable/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D615560BA5C7FF72
E: Failed to fetch cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.0/multiverse/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.4/Release.gpg The following signatures were invalid: KEYEXPIRED 1515625755
W: Some index files failed to download. They have been ignored, or old ones used instead.
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ sudo apt-get install bazel
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
bazel
0 upgraded, 1 newly installed, 0 to remove and 374 not upgraded.
Need to get 88.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://storage.googleapis.com/bazel-apt stable/jdk1.8 amd64 bazel amd64 0.11.1 [88.2 MB]
Fetched 88.2 MB in 43s (2,037 kB/s)
Selecting previously unselected package bazel.
(Reading database ... 431586 files and directories currently installed.)
Preparing to unpack .../bazel_0.11.1_amd64.deb ...
Unpacking bazel (0.11.1) ...
Setting up bazel (0.11.1) ...
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ ## FART --- bazel is already the newest version (0.11.1).
#
#
#
FART MAIN ----
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ ls
a1_Logs_TensorFlowServing.txt cnn_mnist.py gRPC_Initial mnist_saved_model.py README.md
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ python mnist_saved_model.py
Usage: mnist_export.py [--training_iteration=x] [--model_version=y] export_dir
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ python mnist_saved_model.py --50 --1 /media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR
Training model...
Successfully downloaded train-images-idx3-ubyte.gz 9912422 bytes.
Extracting /tmp/train-images-idx3-ubyte.gz
Successfully downloaded train-labels-idx1-ubyte.gz 28881 bytes.
Extracting /tmp/train-labels-idx1-ubyte.gz
Successfully downloaded t10k-images-idx3-ubyte.gz 1648877 bytes.
Extracting /tmp/t10k-images-idx3-ubyte.gz
Successfully downloaded t10k-labels-idx1-ubyte.gz 4542 bytes.
Extracting /tmp/t10k-labels-idx1-ubyte.gz
2018-03-31 21:27:56.192346: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2
Traceback (most recent call last):
File "mnist_saved_model.py", line 147, in <module>
tf.app.run()
File "/home/dhankar/anaconda2/envs/tensor/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 124, in run
_sys.exit(main(argv))
File "mnist_saved_model.py", line 75, in main
tf.constant([str(i) for i in xrange(10)]))
NameError: name 'xrange' is not defined
###
# FART --- https://github.com/tensorflow/tensorflow/issues/14725
# xrange() is Python 2 --- changed it to range() for Python 3.6
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ python mnist_saved_model.py --50 --1 /media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR
Training model...
Extracting /tmp/train-images-idx3-ubyte.gz
Extracting /tmp/train-labels-idx1-ubyte.gz
Extracting /tmp/t10k-images-idx3-ubyte.gz
Extracting /tmp/t10k-labels-idx1-ubyte.gz
2018-03-31 21:35:56.632600: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2
training accuracy 0.9092
Done training!
Exporting trained model to b'/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR/1'
Done exporting!
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ python mnist_saved_model.py --500 --2 /media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR
Training model...
Extracting /tmp/train-images-idx3-ubyte.gz
Extracting /tmp/train-labels-idx1-ubyte.gz
Extracting /tmp/t10k-images-idx3-ubyte.gz
Extracting /tmp/t10k-labels-idx1-ubyte.gz
2018-03-31 21:36:37.620086: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2
training accuracy 0.9092
Done training!
Exporting trained model to b'/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR/1'
Traceback (most recent call last):
File "mnist_saved_model.py", line 148, in <module>
tf.app.run()
File "/home/dhankar/anaconda2/envs/tensor/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 124, in run
_sys.exit(main(argv))
File "mnist_saved_model.py", line 99, in main
builder = tf.saved_model.builder.SavedModelBuilder(export_path)
File "/home/dhankar/anaconda2/envs/tensor/lib/python3.6/site-packages/tensorflow/python/saved_model/builder_impl.py", line 88, in __init__
"directory: %s" % export_dir)
AssertionError: Export directory already exists. Please specify a different export directory: b'/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR/1'
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ python mnist_saved_model.py --500 --2 /media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_2
Training model...
Extracting /tmp/train-images-idx3-ubyte.gz
Extracting /tmp/train-labels-idx1-ubyte.gz
Extracting /tmp/t10k-images-idx3-ubyte.gz
Extracting /tmp/t10k-labels-idx1-ubyte.gz
2018-03-31 21:37:32.736392: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2
training accuracy 0.9092
Done training!
Exporting trained model to b'/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_2/1'
Done exporting!
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ python mnist_saved_model.py --5000 --3 /media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_3
Training model...
Extracting /tmp/train-images-idx3-ubyte.gz
Extracting /tmp/train-labels-idx1-ubyte.gz
Extracting /tmp/t10k-images-idx3-ubyte.gz
Extracting /tmp/t10k-labels-idx1-ubyte.gz
2018-03-31 21:38:02.666252: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2
training accuracy 0.9092
Done training!
Exporting trained model to b'/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_3/1'
Done exporting!
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ ls
a1_Logs_TensorFlowServing.txt mnist_input_data.py MODEL_Mnist_Expo_DIR_2 README.md train-images-idx3-ubyte.gz
cnn_mnist.py mnist_saved_model.py MODEL_Mnist_Expo_DIR_3 t10k-images-idx3-ubyte.gz train-labels-idx1-ubyte.gz
gRPC_Initial MODEL_Mnist_Expo_DIR __pycache__ t10k-labels-idx1-ubyte.gz
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$
#
#
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving$ cd MODEL_Mnist_Expo_DIR_3
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_3$ ls
1
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_3$ cd 1
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_3/1$ ls
saved_model.pb variables
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_3/1$ cd variables
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_3/1/variables$ ls
variables.data-00000-of-00001 variables.index
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_3/1/variables$
(tensor) dhankar@dhankar-VPCEB44EN:/media/dhankar/Dhankar_1/a1_18/a1____Tensor_Mar18/TensorFlow_Serving/MODEL_Mnist_Expo_DIR_3/1/variables$
#
#