-
Notifications
You must be signed in to change notification settings - Fork 13
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
TypeError: 'PinMemCustomBatch' object is not subscriptable #6
Comments
It seems your information is not complete. There is no file connected with 'PinMemCustomBatch' in your error message. Try to re-download the code without modification. Thanks. |
Thanks. I have replaced the code in line 148 of preprocess.py with the following and the issue has been resolved.
|
Thanks for letting me know. But it is still a bit odd. The PinMemCustomBatch is defined in Line 115 in 27715d0
, where the function pin_memory returns self.batch_out_dict , which means batch_out_dict should not be seen by other functions. Are you sure you used the code without modification?
Thanks, |
In this case, the following line (and similar lines) should be changed to EIN-SELD/seld/learning/preprocess.py Line 148 in 27715d0
Thanks again for your support ;) |
I think you completely misunderstand the code. I don't know your python and pytorch environment, nor if you have changed the code. All I can say is if you look at EIN-SELD/seld/learning/preprocess.py Line 139 in 27715d0
|
When i run follwing line:
sh scripts/preproc.sh
I face with this error:
Would you please help me?
The text was updated successfully, but these errors were encountered: