Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

pytorch Version #42

Open
jiaszhang opened this issue Dec 20, 2019 · 6 comments
Open

pytorch Version #42

jiaszhang opened this issue Dec 20, 2019 · 6 comments

Comments

@jiaszhang
Copy link

Hello, I need to compile pytorch, could you tell me the pytorch version the project ued? thank you!

@chaoyuaw
Copy link

chaoyuaw commented Jan 18, 2020

Hi, Sorry for the late reply. I don't remember the exact version I used when I developed this repository (April 2019), but I used the latest version back then, so my best guest would be around v1.0. Please let me know if you have any issue using this repo. Thanks!

@luuckiest
Copy link

luuckiest commented Jan 28, 2020

I have problem installing the newest version of pytorch.
Ubuntu is 18.04,
Cuda=9.0
Cudnn = 7.5
gcc = 5.5
python =2.7.x

If you could let me know which version are you using?

@chaoyuaw
Copy link

Hi, I'm sorry but I don't have access to the environment I used to develop this repo, so I don't have answers to your questions. However, if it's a PyTorch installation question (as opposed to a LFB-specific question), maybe "https://github.com/pytorch/pytorch/issues" would be helpful.

@Holmes-GU
Copy link

@chaoyuaw Hi, I am reading your codes and I am not sure about the scale operation, in the code, there is theta_phi = model.Scale(theta_phi, theta_phi, scale=latent_dim**-.5). What dose it mean? Is every element divided by scale? Thank you.

@chaoyuaw
Copy link

Yes, it's element-wise scaling by a factor of (1 / sqrt(latent_dim)). We follow Sec-3.2.1 & footnote 4 of https://arxiv.org/pdf/1706.03762.pdf for this design choice.

@Holmes-GU
Copy link

Holmes-GU commented Jul 15, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants