Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

Should file `test_data_generator.py` to be moved to the tests directory?

Open wadefelix opened this issue 5 years ago • 4 comments

OR the follow lines be included in if __name__ == '__main__': block?

https://github.com/PaddlePaddle/Paddle/blob/3a8ef10e09837455f9feb85c8ad72f02b95a1cf2/python/paddle/distributed/fleet/data_generator/test_data_generator.py#L35

wadefelix avatar Mar 04 '21 09:03 wadefelix

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!

paddle-bot-old avatar Mar 04 '21 09:03 paddle-bot-old

this file is packaged in the final released pacakge.

wadefelix avatar Mar 04 '21 09:03 wadefelix

https://github.com/PaddlePaddle/Paddle/blob/3a8ef10e09837455f9feb85c8ad72f02b95a1cf2/python/paddle/distributed/launch.py#L16 in the __main__ context too.

wadefelix avatar Mar 04 '21 10:03 wadefelix

Are you satisfied with the resolution of your issue?

YES No

paddle-bot-old avatar Mar 09 '21 10:03 paddle-bot-old