yujun-shi / blip Goto Github PK
View Code? Open in Web Editor NEWOfficial Implementation of CVPR2021 paper: Continual Learning via Bit-Level Information Preserving
License: MIT License
Official Implementation of CVPR2021 paper: Continual Learning via Bit-Level Information Preserving
License: MIT License
Hi,
I am trying this very interesting and novel approach on some experiments with sparse-reward environments. In my particular case I am making use of a QMLPBase
policy. Training over a task goes fine, but I get an error at the post processing with agent.ng_post_processing(rollouts, task_idx)
as follows:
AttributeError: 'Linear_Q' object has no attribute '_costate'
Apparently the error has its origin at the estimate_fisher()
function, where supposedly a backward hook is registered for the Linear_Q
layers on both actor and critic networks (as defined under QMLPBase
). It seems that this backward hook does not get triggered for the critic network, therefore the attribute _costate
never gets created. This subsequently raises an error at the update_fisher_exact()
function, as this function expects the _costate
attribute to exist for every Linear_Q
layer when calculating H = (f_state*m._costate).sum()
.
Any suggestions on how to overcome this issue?
Many thanks
老师,您好:
请教您修改哪部分代码,才使得您的BLIP能够在我自己的数据集上运行?或者是能给出一个数据加载的思路?
谢谢您!
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.