leftthomas / cccapsnet Goto Github PK
View Code? Open in Web Editor NEWA PyTorch implementation of Compositional Coding Capsule Network based on PRL 2022 paper "Compositional Coding Capsule Network with K-Means Routing for Text Classification"
A PyTorch implementation of Compositional Coding Capsule Network based on PRL 2022 paper "Compositional Coding Capsule Network with K-Means Routing for Text Classification"
Hello ,
I am new to Pytorch and capsule networks.
I have been trying to run the code you provided and came across the following error while preprocessing the imdb dataset.
ImportError: cannot import name 'datasets_iterator' from 'torchnlp.utils'
I tried to look around for a solution, but failed. I cannot find what version of torchnlp
has the datasets_iterator
function, or what the latest version's equivalent is for the same.
Any help you can provide would help me a lot.
Thank you!
Your code lacks capsule_layer
大佬你好,
CCCapsNet仓库少一个文件,,,capsule_layer文件,
能否上传一下哇
when trying to install
pip install git+https://github.com/leftthomas/CapsuleLayer.git@master
remote: Repository not found.
fatal: repository 'https://github.com/leftthomas/CapsuleLayer.git/' not found
Command "git clone -q https://github.com/leftthomas/CapsuleLayer.git /tmp/pip-req-build-bfyzbtb_" failed with error code 128 in None
looking forward to test
Thanks
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.