Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidArgumentError while running tran1.py #117

Open
qinyunchuan opened this issue Aug 22, 2019 · 2 comments
Open

InvalidArgumentError while running tran1.py #117

qinyunchuan opened this issue Aug 22, 2019 · 2 comments

Comments

@qinyunchuan
Copy link

When I Running train1.py using timit data, encountered the following error:

InvalidArgumentError (see above for traceback): No OpKernel was registered to support Op 'NcclAllReduce' with these attrs.  Registered devices: [CPU], Registered kernels:
  <no registered kernels>

[[{{node AllReduceGrads/NcclAllReduce}} = NcclAllReduce[T=DT_FLOAT, num_devices=2, reduction="sum", shared_name="c0", _device="/device:GPU:0"](tower0/gradients/tower0/net1/prenet/dense1/Tensordot/transpose_1_grad/transpose)]]


the folloing the the command line:

python train1.py timit

but how to register the kernel?

@qinyunchuan
Copy link
Author

May I uninstall the tensorflow and install tensorflow-gpu?

@yifanliuu
Copy link

The args should be ckpt(checkpoint) , (registered gpus) and case (see in pharmacy.py)
Set your dataset path in hparam/hparams.yaml and default.yaml

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

No branches or pull requests

2 participants