This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 491
An improvement on regression and data reading-revision #215
Open
tujie-jiangye
wants to merge
8
commits into
intel:master
Choose a base branch
from
tujie-jiangye:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…els, and regression problems are applied. The improved Caffe can handle the standard image multi label regression problem and is very adaptable to non-standard image data. Compared to the support of native Caffe to the regression problem, this modification not only makes the use more simple, but also has a good performance in the slow convergence or non convergence of loss on some regression problems.
delete some useful line
Revision of code specification
tujie-jiangye
changed the title
An improvement on regression and data reading
An improvement on regression and data reading-revision
May 19, 2018
jgong5
suggested changes
May 21, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please explain why you remove the OPENMP related code.
PreclcRandomNumbers precalculated_rand_numbers; | ||
this->data_transformer_->GenerateRandNumbers(precalculated_rand_numbers); | ||
#pragma omp task firstprivate(offset, precalculated_rand_numbers, data, item_id) | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you remove these code?
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The improvement of this version is mainly aimed at multiple label regression problems. By improving LMDB reading and writing, the Intel caffe LMDB database can directly support multi label regression without the h5py database as an intermediary. Through this improvement, we find that some native Caffe regression loss is not convergent or slow convergence, this improvement has good adaptability, and shows excellent results on similar problems.