Skip to content
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

AttributeError: 'tuple' object has no attribute 'size' #1

Closed
40min opened this issue Feb 11, 2019 · 2 comments
Closed

AttributeError: 'tuple' object has no attribute 'size' #1

40min opened this issue Feb 11, 2019 · 2 comments

Comments

@40min
Copy link

40min commented Feb 11, 2019

train is always falling even with such kind of file:
"""
SentimentText;Sentiment
aaa;1
bbb;2
ccc;3
"""
Params of running -- just data_path
Packages installed:
numpy==1.16.1
pandas==0.24.1
Pillow==5.4.1
protobuf==3.6.1
python-dateutil==2.8.0
pytz==2018.9
scikit-learn==0.20.2
scipy==1.2.1
six==1.12.0
sklearn==0.0
tensorboardX==1.6
torch==1.0.1.post2
torchvision==0.2.1
tqdm==4.31.1

@ahmedbesbes
Copy link
Owner

Sentiment should be a binary value (0/1)

@40min
Copy link
Author

40min commented Feb 12, 2019

Oh, thanks, I've spent hours trying to understand before I asked here.

@40min 40min closed this as completed Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants