-
Notifications
You must be signed in to change notification settings - Fork 25
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
Converting text file to .t7 file #14
Comments
Do you have the most recent version from GitHub? That error means the file
contains an instance of an unknown class, not anything to do with the file
format itself. The latest version will forcefully try to deserialize all
types. You can get the same behaviour in old versions with the kwarg
force_deserialize_classes (see the docstrings for details).
|
Previous error is now changed to :- AttributeError: 'bytes' object has no attribute 'raw_txt' |
I misread your original email. You're trying to save and load the torch
text-based file format? That's not supported, please resave it as binary.
|
Respected Sir, The code snippet I am trying to run is :- # Load text embeddings generated from the encoder |
@Shubham-kale Dear have you solved this issue because I am also facing such kind of error? thank you very much. |
I Apologize for replying so late
But there is issue with torch code used in the project
I did the project using skip-thought encoding model
…On Thu, 22 Nov, 2018, 12:11 PM AnwarUllahKhan ***@***.*** wrote:
@Shubham-kale <https://github.com/Shubham-kale> Dear have you solved this
issue because I am also facing such kind of error?
If yes then please give some suggestions.
thank you very much.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVzjHZeLgCYEbeLXIdyiJbsxqhq_cPJxks5uxkcqgaJpZM4SmTh3>
.
|
Hey Shubham, I'm trying to use the same repo for text to image generation on birds dataset. I'm trying to get images on new captions, but can't work around the .t7 file. Can you please hint on how to do it? |
@Chinmay4400 , refer - https://github.com/Shubham-kale/Project |
While trying to run a code which uses torchfile I encountered the following error :-
I gather that .t7 is not a file format but just an extension , is that true ?
I tried renaming the file under consideration with the extension .t7 , but things didn't workout so I want to know how to convert a text file to .t7 file ?
The text was updated successfully, but these errors were encountered: