GithubHelp home page GithubHelp logo

cikm's Introduction

We use the FederatedScope framework, so first follow https://tianchi.aliyun.com/forum/postDetail?spm=5176.12281978.0.0.555e3ab4aJfzJs&postId=402279 to set up the FederatedScope, the contest data can be downloaded from https://tianchi.aliyun.com/competition/entrance/532008/information:

To run the code

TODO:

git clone https://github.com/chen0405/cikm.git

cd cikm

conda create -n fs python=3.9

conda activate fs

conda install -y pytorch=1.10.1 torchvision=0.11.2 torchaudio=0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge

python setup.py install

bash environment/extra_dependencies_torch1.10-application.sh

mkdir data

unzip -d ./data/ ${YOUR_OWN_PATH}/CIKM22Competition.zip

python federatedscope/main.py --cfg federatedscope/gfl/baseline/cfg.yaml --client_cfg federatedscope/gfl/baseline/client_cfg.yaml

Brief introduction of the developed algorithm

Our method is based on the "isolated" baseline, we set hidden to 1024, batch_size to 16, weight_decay to 0.00005, total_round_num to 30, and modified some client's lr to prevent gradient explosion, more detail can be seen in federatedscope/gfl/baseline/cfg.yaml and federatedscope/gfl/baseline/client_cfg.yaml.

cikm's People

Contributors

chen0405 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.