thunlp / OpenNE

An Open-Source Package for Network Embedding (NE)
MIT License
1.68k stars 485 forks source link

how to run example 20newsgroup.py #52

Closed Sandy4321 closed 5 years ago

Sandy4321 commented 6 years ago

I try to run example 20newsgroup.py on windows but nothing happens pls help image

Sandy4321 commented 6 years ago

it is output what I have Microsoft Windows [Version 10.0.17134.285] (c) 2018 Microsoft Corporation. All rights reserved.

E:\AAA_new_Lenovo_start_sep_22_2018\Graphs_ML\code\OpenNE-master\OpenNE-master\visualization_example>python 20newsgroup.py C:\Users\sndr\Anaconda3\lib\site-packages\h5py__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters C:\Users\sndr\Anaconda3\lib\site-packages\gensim\utils.py:1197: UserWarning: detected Windows; aliasing chunkize to chunkize_serial warnings.warn("detected Windows; aliasing chunkize to chunkize_serial") 2018-09-26 16:00:19.181683: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1392] Found device 0 with properties: name: GeForce GTX 1060 major: 6 minor: 1 memoryClockRate(GHz): 1.6705 pciBusID: 0000:01:00.0 totalMemory: 6.00GiB freeMemory: 4.97GiB 2018-09-26 16:00:19.192110: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1471] Adding visible gpu devices: 0 2018-09-26 16:00:20.111383: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix: 2018-09-26 16:00:20.117469: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:958] 0 2018-09-26 16:00:20.121908: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 0: N 2018-09-26 16:00:20.126853: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4734 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060, pci bus id: 0000:01:00.0, compute capability: 6.1)

zzy14 commented 6 years ago

There isn't any error thrown according to your output. After the script finish, you can use the tensorborad to show the result.