Comments (2)
as seen in the next code fragment, line 212, optimizer.step() is outside of the for loop, which iterates over the current task.
CGLB/GCGL/Baselines/gem_model.py
Lines 178 to 212 in 3e0debf
while in the same file, in line 296 and line 127, this step is inside the for loop.
Thanks for pointing out this issue. It should be a mistake, and we have corrected it and updated it. We tested the result of GEM with the updated code (on Aromaticity-CL, the only class-IL dataset), and got AP 5.2±1.1 AF -57.6±3.4. The AP decreases a little, and the AF increases. The previous code would skip some batches of data in each epoch, but since shuffle is used for the data loader, all data should get chance to be trained after multiple epochs. Now the corrected code would ensure that all batches are used in each epoch.
from cglb.
Thank you for the update
from cglb.
Related Issues (20)
- Redundant training in testing phase? HOT 2
- Performance matrix visualization for GCGL is not working correctly HOT 2
- add more units to the output layer in LWF HOT 2
- Problem in utils.py HOT 2
- Reddit Dataset Batch Size Issue HOT 2
- GCGL set_random seed is never called HOT 2
- Problem in function pipeline_task_IL_inter_edge_minibatch HOT 1
- Difference in joint train performance for aromaticity CL of CGLB and BeGin HOT 2
- GEM Memory_data HOT 1
- GCGL, TWP error when using higher GCN hidden units HOT 1
- Question about hyper-parameter search in GCGL HOT 2
- SIDER-tIL Jointtrain Cannot be reproduced HOT 1
- Class Incremental for Node Classification EWC and MAS cannot be reproduced HOT 2
- Error occurred for jointtrain in GCGL HOT 3
- error report when implementing GEM on Tox21 datasets HOT 1
- ValueError from GEM on Tox21 HOT 1
- Is ```observe_class_IL_batch``` function considering inter-edge connections in ```pipeline_class_IL_no_inter_edge_minibatch```?
- Environment configuration
- non-continuous categories
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cglb.