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

Divide by Zero error when training the SoSModel #270

Closed
cglewis opened this issue Dec 21, 2018 · 0 comments
Closed

Divide by Zero error when training the SoSModel #270

cglewis opened this issue Dec 21, 2018 · 0 comments
Assignees
Labels

Comments

@cglewis
Copy link
Member

cglewis commented Dec 21, 2018

Traceback (most recent call last):
  File "train_SoSModel.py", line 47, in <module>
    data = create_dataset(data_dir, time_const)
  File "/SoSModel/session_sequence.py", line 122, in create_dataset
    session_info = featurize_session(key, value, source=source)
  File "/SoSModel/pcap_utils.py", line 406, in featurize_session
    freq_1 = num_sent_by_1/(last_time - first_time)
ZeroDivisionError: float division by zero
@cglewis cglewis added the bug label Dec 21, 2018
cglewis added a commit that referenced this issue Dec 21, 2018
@cglewis cglewis self-assigned this Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant