ainimal / aini_modules Goto Github PK
View Code? Open in Web Editor NEWA PyTorch Computer Vision (CV) module library for building n-D networks flexibly ~
License: MIT License
A PyTorch Computer Vision (CV) module library for building n-D networks flexibly ~
License: MIT License
Thank you for providing a lot of 3D pre-training weights. When I loaded the weights of VC3D_kenshohara, I ran the following code and found that all weights were Non-Pretrained keys: 318. Is there any problem?
import torch
from wama_modules.thirdparty_lib.VC3D_kenshohara.wide_resnet import generate_model
from wama_modules.utils import load_weights
m = generate_model()
pretrain_path = r"wideresnet-50-kinetics.pth"
pretrain_weights = torch.load(pretrain_path, map_location='cpu')['state_dict']
m = load_weights(m, pretrain_weights)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
keys ( Current model,C ) 318 odict_keys(['conv1.weight', 'bn1.weight', 'bn1.bias', 's_tracked'])
keys ( Pre-trained ,P ) 267 dict_keys(['module.conv1.weight', 'module.bn1.weight...er4.2.convle.fc.bias'])
keys ( In C & In P ) 0 dict_keys([])
keys ( NoIn C & In P ) 267 dict_keys(['module.co...odule.layer4.2.bas'])
keys ( In C & NoIn P ) 318 dict_keys(['conv1.weig...es_tracked'])
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Pretrained keys : 0 dict_keys([])
Non-Pretrained keys: 318 dict_keys(['conv1.weight', 'bn1.we...tches_tracked'])
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
the original radimagenet provides 4 networks's weights, but i only find one (resnet) in your repo?
https://github.com/BMEII-AI/RadImageNet
I notice that all the pretrained weights in this repo are from other repo and you just collect them.
Do you have some pretrained weights of your code, like wm.encoder?
hi, tks for your multi-labl codes, and could you share this weights cache=r'C:\git\.vector_cache'
below?
# get word embedding
glove = vocab.GloVe(name="6B", dim=300, cache=r'C:\git\.vector_cache')
Thanks for your code in simple style b( ̄▽ ̄)d, but I cannot under stand the "Support multi-class per label" in the table of multi-label network structures, whats the meaning of it ?
Wow, thank you for the demo you provided. They look very concise.
BTW, do you have any plans to implement some multi-modal models? For example, the 'co-attention model' mentioned in this paper
An Empirical Study of Training End-to-End Vision-and-Language Transformers
Hi,
I'm interested in running a 3D VGG on a CT dataset (single channel).
I want to classify the images into 3 classes (0, 1, or 3).
I did not understand how the label_category_dict works.
How to set the number of classes?
Do you have a snippet of code for this scenario?
Thank you.
Best,
Paolo
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.