liutinglt / CE2P

214 stars 41 forks source link

How can i get the images written by writer.add_image() #9

Open Hermetist opened 5 years ago

Hermetist commented 5 years ago

I am new to pytorch. you have used writer.add_image() to write the images to tensorboard. Now, how can i access these images, restore them and save them in a specified folder for further process?

liutinglt commented 5 years ago

@Hermetist With writer.add_image(), you can run the command tensorboard --logdir=./snapshots, and visit the http://(your ip):6006/ to access the images. If you want to restore them, please refer to the test.py.

eng100200 commented 5 years ago

Thank you Liutinglt,,,,But, i have a problem,,,i run the tensorboard --logdir=./snapshots on terminal of my GPU,,,now when i open google chrome on my local mac ,,,the page does not open, why? do i need to open it on local host?

eng100200 commented 5 years ago

and you have mention http://(your ip):6006/,,,you ip here is this the ip of my GPU,,,,which can be accessible directly by opening browser on my local mac.? please reply

RanTaimu commented 5 years ago

@eng100200 Just replace '(your ip)' with 'localhost'

eng100200 commented 5 years ago

@RanTaimu do you mean by replace with local host,,,means write their the ip of my local host?

RanTaimu commented 5 years ago

http://localhost:6006 @eng100200 copy this into your address bar.

eng100200 commented 5 years ago

@RanTaimu you mean the type in words localhost:6006,,,,just simply this,, no need for ip address or something?

RanTaimu commented 5 years ago

@eng100200 yes, just copy it.

eng100200 commented 5 years ago

@RanTaimu thank you,,,,,

eng100200 commented 5 years ago

image ![Uploading image.png…]()

I got this : http://bjlt-hg162.sy:6006 ,,,but,,,,no display when i run thin on my mac

eng100200 commented 5 years ago

note; i have run tensorboard --logdir=./,,,,,, on my GPU

eng100200 commented 5 years ago

image

RanTaimu commented 5 years ago

@eng100200 Do you run any proxy software(like shadowsocks or openconnect) in your computer? That may disturb you.

eng100200 commented 5 years ago

i think may be

eng100200 commented 5 years ago

because i need to open google!!

RanTaimu commented 5 years ago

Haha. If the problem is resolved, please close this issue :)

eng100200 commented 5 years ago

@RanTaimu if i disable my internet then open http://bjlt-hg162.sy:6006 ,, would it be okay?

RanTaimu commented 5 years ago

@eng100200 It should be. this address is the local loop in your computer, which is unrelated to the internet.

eng100200 commented 5 years ago

still no display,,,you can close this,,i would try later. Could you give me your email for future correspondence....thank u

RanTaimu commented 5 years ago

@eng100200 Via rantaimu@bjtu.edu.cn

eng100200 commented 5 years ago

@RanTaimu thank u

eng100200 commented 5 years ago

@RanTaimu did you receive my email?

RanTaimu commented 5 years ago

@eng100200 I'm afraid that I missed your email. If you have any question about CE2P or M-CE2P, just feel free to open an new issue :)