Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- flow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
- 2018-04-17 22:47:47.758807: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:895] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
- 2018-04-17 22:47:47.759232: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1105] Found device 0 with properties:
- name: GeForce GT 740M major: 3 minor: 5 memoryClockRate(GHz): 1.0325
- pciBusID: 0000:01:00.0
- totalMemory: 1.96GiB freeMemory: 1.49GiB
- 2018-04-17 22:47:47.759247: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1195] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GT 740M, pci bus id: 0000:01:00.0, compute capability: 3.5)
- Model restored.
- WARNING:tensorflow:From /home/suthagar/PycharmProjects/wordembedding/fyp-polysemy-embedding/complete-workflow/tf-sim.py:104: calling reduce_sum (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
- Instructions for updating:
- keep_dims is deprecated, use keepdims instead
- 566373 128 [-0.36982754 -0.21870953 -0.13662168 0.30121762 0.3874089 0.25321093
- 0.00238532 0.06452574 0.62510073 0.6648495 ]
- SIM******
- 95 [ 2874 7195 1082 1236 1915 542 1545 77346]
- Nearest to connoisseur_N: already_R, always_R, think_N, still_R, much_A, see_V, also_R, serengeti_N.,
- 96 [1082 7195 635 339 2695 510 614 357]
- Nearest to mind_N: think_N, always_R, idea_N, thing_N, really_R, fact_N, something_N, seem_V,
- 97 [1082 2695 1915 7195 1209 339 1337 614]
- Nearest to lot_N: think_N, really_R, much_A, always_R, little_A, thing_N, want_N, something_N,
- 98 [101802 150734 66159 1636 50936 284413 97 499503]
- Nearest to linear_N: keynesian_A, jai_N, scottish_premier_league_TGRAM., never_R, dodi_N, shingle_N., lot_N, surescripts_N.,
- 99 [ 3316 1235 6956 5348 54471 58 886 294732]
- Nearest to wall_N: street_N, building_N, square_N, door_N, terwilliger_N, outside_IN, front_N, pow_pow_pow_TGRAM,
- ['woman_N']
- woman_N
- 44
- Nearest to woman_N: men_N, girl_N, man_N, boy_N, child_N, young_A, people_N, age_N,
- loaded
- Process finished with exit code 0
- --------------------------------------------------------------------------------------------------------
- For woman_N
- [('men_N', 0.8771492838859558),
- ('girl_N', 0.8283711671829224),
- ('man_N', 0.824950098991394),
- ('boy_N', 0.8054362535476685),
- ('child_N', 0.7868410348892212),
- ('young_A', 0.7530423402786255),
- ('people_N', 0.7456715106964111),
- ('age_N', 0.7404481172561646),
- ('adult_N', 0.7295136451721191),
- ('parent_N', 0.7270010113716125)]
- -----------------------------------------------------------------------
- Conclusion : No error on fetching the vectors from TF Model to text file
Add Comment
Please, Sign In to add comment