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

Add CE to Sentiment #2777

Merged
merged 11 commits into from
Jul 15, 2019
Merged

Add CE to Sentiment #2777

merged 11 commits into from
Jul 15, 2019

Conversation

DDDivano
Copy link
Contributor

@DDDivano DDDivano commented Jul 10, 2019

ADD CE to Dygraph Sentiment model

fc_1 = self._fc1(conv_3)
#print(fc_1.numpy().mean())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不需要的可以直接删掉

prediction = self._fc_prediction(fc_1)
#print(prediction.numpy().mean())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不需要的可以直接删掉

from __future__ import print_function
import os
import sys
sys.path.append(os.environ['ceroot'])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

移到所有import语句的后面比较好

Copy link
Contributor

@wopeizl wopeizl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DDDivano DDDivano merged commit 011591d into PaddlePaddle:develop Jul 15, 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

Successfully merging this pull request may close these issues.

2 participants