-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
image_classification cifar-10 train (use sparse trainning) #105
Comments
@shenhuinuist the fc = fc_layer(input=data, size=128, param_attr=ParamAttr(sparse_update=True)) The sparse training is usually used to accelerate calculation when input is sparse data with highly dimension. But the data for image classification of cifar-10 is dense type, |
@qingqing01 Thank you so much . Now , I set sparse_update =True and sparse_remote_update = False in paddle.trainer_config_helpers.attr.py , the input data was still image classification of cifar-10, the error was as follows: TypeError: init( ) got an un expected keyword argument ‘sparse_update’. I have two questions. Where does paddle execute the command ? What's more, How does paddle judge the input data is sparse or not ? |
@shenhuinuist I have mentioned above, the cifar-10 data is not sparse input. So the The data type is defined in this line in the data provider file. The data provider defines the types of the input data and provides training or testing data to PaddlePaddle. Thanks. If there is any question, we can continue to discuss :) |
@qingqing01 Thank you! |
Update sym links
* fix unroll bug * fix broadcast X86 code gen bug
…ddle#105) * simplify ir::Node,ir::graph
* Add Wav2Lip generator.
Change default dropout value in documentation
* add fuse mt weight only quant
When execute sparse training, we need to set sparse_update=True in network config. Where should I set the command when I train image_classification cifar-10?
The text was updated successfully, but these errors were encountered: