crashmoon / Progressive-Generative-Networks

Semantic Image Inpainting with Progressive Generative Networks
MIT License
65 stars 17 forks source link

Trained model and dataset #2

Open sohelmsc opened 5 years ago

sohelmsc commented 5 years ago

Can you share the trained model and relevant dataset, if it is ok.

Thanks in advance.

zhangbaijin commented 5 years ago

excuse me,have you trained? i got some problem, AttributeError: 'generator' object has no attribute 'next', thanks for your time!

sohelmsc commented 5 years ago

I trained the model for different datasets. Can you give me the scenario where you are getting the error?

Thanks

On Tue, Jul 23, 2019 at 10:17 PM zhangbaijin notifications@github.com wrote:

excuse me,have you trained? i got some problem, AttributeError: 'generator' object has no attribute 'next', thanks for your time!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/crashmoon/Progressive-Generative-Networks/issues/2?email_source=notifications&email_token=ABC5SIE2KWEQPISNJZB6LZLQA63TPA5CNFSM4GM4C3GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2U6TAA#issuecomment-514451840, or mute the thread https://github.com/notifications/unsubscribe-auth/ABC5SIA4QNYYDCCWEPJZHZTQA63TPANCNFSM4GM4C3GA .

zhangbaijin commented 5 years ago

i run gan_lstm.py and the problem happened. by the way,i crop paris_streetview_original to 128X128

发自我的iPhone

------------------ Original ------------------ From: sohelmsc notifications@github.com Date: Wed,Jul 24,2019 10:19 AM To: crashmoon/Progressive-Generative-Networks Progressive-Generative-Networks@noreply.github.com Cc: zhangbaijin 512631874@qq.com, Comment comment@noreply.github.com Subject: Re: [crashmoon/Progressive-Generative-Networks] Trained model and dataset (#2)

I trained the model for different datasets. Can you give me the scenario where you are getting the error?

Thanks

On Tue, Jul 23, 2019 at 10:17 PM zhangbaijin notifications@github.com wrote:

excuse me,have you trained? i got some problem, AttributeError: 'generator' object has no attribute 'next', thanks for your time!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/crashmoon/Progressive-Generative-Networks/issues/2?email_source=notifications&email_token=ABC5SIE2KWEQPISNJZB6LZLQA63TPA5CNFSM4GM4C3GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2U6TAA#issuecomment-514451840, or mute the thread https://github.com/notifications/unsubscribe-auth/ABC5SIA4QNYYDCCWEPJZHZTQA63TPANCNFSM4GM4C3GA .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

zhangbaijin commented 5 years ago

first, this is my dir: os.chdir('./dataset/paris_streetview/paris_train_original/') name = os.listdir(os.getcwd()) print(name)

id = 0 with open('./paris.csv','w') as csvfile: w = csv.writer(csvfile) for x in name: w.writerow(['./dataset/paris_streetview/paris_train_original'+x, id]) id+=1

cv2.destroyAllWindows()

secondly, i copy the paris.csv file to the Progressive-Generative-Networks-master . thirdly, i run gan_lstm.py and the problem AttributeError: 'generator' object has no attribute 'next' i have no idea.... thanks for your time!

whitecyw commented 4 years ago

anyone have tried the code successfully? I have met too many problems