lucidrains / DALLE2-pytorch

Implementation of DALL-E 2, OpenAI's updated text-to-image synthesis neural network, in Pytorch
MIT License
11.15k stars 1.09k forks source link

how to use test_data #263

Open xiefei1026 opened 2 years ago

xiefei1026 commented 2 years ago

hi, I am a green hand in this project, emm, i just want to run a simple dataset to see the amaing effect runned by this project. should I replace the following code to read test_data? how to read it?

text = torch.randint(0, 49408, (4, 256)).cuda() images = torch.randn(4, 3, 256, 256).cuda()

Thanks for your help