Skip to content

Commit 16bf61c

Browse files
committed
Bump the recursion limit for rnnslu.
1 parent a7295aa commit 16bf61c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

code/rnnslu.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
import theano
1616
from theano import tensor as T
1717

18+
# Otherwise the deepcopy fails
19+
import sys
20+
sys.setrecursionlimit(1500)
21+
1822
PREFIX = os.getenv(
1923
'ATISDATA',
2024
os.path.join(os.path.split(os.path.abspath(os.path.dirname(__file__)))[0],

0 commit comments

Comments
 (0)