You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And get an exception while converting tensorflow model to pytorch:
Could not find PyTorch checkpoint
Converting weights and will store the PyTorch checkpoint as 59fb4c9fc12d31d104fd09b35e167d69
Read 200000 codes from the codes file.
2019-09-25 12:29:42.180793: W tensorflow/core/framework/allocator.cc:107] Allocation of 1262254080 exceeds 10% of system memory.
2%|▏ | 1/48 [00:00<00:05, 8.24it/s]
Traceback (most recent call last):
File "/home/vlad/Documents/coding/experiments/ctrl/pytorch_generation.py", line 128, in <module>
current_layer.layernorm1.bias = str2parameter(layer_variables[0])
IndexError: list index out of range
Process finished with exit code 1
My environment:
python 3.6.8
torch 1.2.0
tensorflow==1.14.0
tensorflow-estimator==1.14.0
Also i found an error in 88 line in pytorch_generation.py. You should first encode string to get it hash
Hello, i tried to run generation using pytorch
And get an exception while converting tensorflow model to pytorch:
My environment:
Also i found an error in 88 line in pytorch_generation.py. You should first encode string to get it hash
And I also have a question: Did you test your solution on python3?
The text was updated successfully, but these errors were encountered: