clab / clab/dynet

Set_random_seed() does not work

Open
#1,365 4 comments 0 reactions 0 assignees View on GitHub
need more info
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

I initialize my Dynet with the following codes, but I get different results every time from my LSTM model. Is this possible?

```
import _dynet as dy
dyparams = dy.DynetParams()
dyparams.set_mem(20000)
dyparams.set_random_seed(666)
dyparams.set_autobatch(True)
dyparams.init()
```

I ran this in Jupyter notebook. Could this be the reason?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.