ema-marconato / nesy-cl Goto Github PK
View Code? Open in Web Editor NEWCodebase for Neuro-Symbolic Continual Learning.
License: MIT License
Codebase for Neuro-Symbolic Continual Learning.
License: MIT License
Hi,
first of all fascinating work!
I am currently trying to test COOL on my own data, but it seems that mammoth is not included in the repo. I tried adding it manually from the mammoth git repo, but then some files are still missing (e.g. DeepProbLog).
I was wondering if I've missed something or if it is missing in this repo?
with kind regards,
Felix
Hi,
First of all, your work is really interesting, and thank you so much for posting your codes.
I tried to execute the script you provided in run_start.sh
and got the following error.
File ".../NeSy-CL/utils/training.py", line 237, in train
tb_logger.log_accuracy(np.asarray(accs), mean_acc, args, t)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.
I tried to debug it and confirmed that the elements of accs
were weird.
The type of accs
is a tuple, but the items it contains have different data types, which is the cause of the above error.
([86.8], [86.8], [88.5], [88.5], tensor([0.9803, 0.9772, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,
0.0000, 0.9977, 0.9956, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,
0.0000, 0.0000]))
I'm still getting used to your repo and figuring it out, so could you let me know how to fix it?
Regards,
Jinyung Hong
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.