Layout-Generation / layout-generation

Layout Generation and Baseline implementations
MIT License
140 stars 23 forks source link

How to show the data Publaynet.npy, trans.npy , GAN_res.npy #12

Open Jinyang228 opened 2 years ago

Jinyang228 commented 2 years ago

I mean I wanna have a look for the data vision. Thanks

yashjain7856 commented 2 years ago

Just print the data after doing np.load().

In metrics.ipynb we have:

publaydata = np.load(root+"publaynet.npy") Transformer_res=np.load(root+"trans.npy") VAE_res = np.load(root+"VAE_res.npy") GAN_res = np.load(root+"GAN_res.npy")

after the above lines do this: print(publaydata) print(Transformer_res) print(VAE_res) print(GAN_res)

Jinyang228 commented 2 years ago

Just print the data after doing np.load().

In metrics.ipynb we have:

publaydata = np.load(root+"publaynet.npy") Transformer_res=np.load(root+"trans.npy") VAE_res = np.load(root+"VAE_res.npy") GAN_res = np.load(root+"GAN_res.npy")

after the above lines do this: print(publaydata) print(Transformer_res) print(VAE_res) print(GAN_res)

Thanks. Is it possible to realize data visualization for those three data? As the results we can know the approximate graphical layout.

Jinyang228 commented 2 years ago

Just print the data after doing np.load().

In metrics.ipynb we have:

publaydata = np.load(root+"publaynet.npy") Transformer_res=np.load(root+"trans.npy") VAE_res = np.load(root+"VAE_res.npy") GAN_res = np.load(root+"GAN_res.npy")

after the above lines do this: print(publaydata) print(Transformer_res) print(VAE_res) print(GAN_res)

BTW, I wanna know how to get these npy data files based on those results. Thx