Comments (7)
@AutumnWormSun Please use PyTorch master: https://github.com/facebookresearch/SparseConvNet#pytorch-setup
from sparseconvnet.
Are you using PyTorch master? (https://github.com/facebookresearch/SparseConvNet#pytorch-setup)
SparseConvNet had to be upgraded recently to be compatible with the latest PyTorch changes.
If you are on master, the following code should work:
import sparseconvnet as scn
scn.SubmanifoldConvolution(3,4,4,3,False).filter_size.prod().item()
If you are already on master, please give a minimal example of code that fails.
from sparseconvnet.
Thanks! I sloved it. thank you.
from sparseconvnet.
hi,
Could you share me example of Kaggle Diabetic Retinopathy Detection, 2015?
thanks
from sparseconvnet.
@fengxiuyaun I encountered the same problem!
Environment: Python 3.6, Pytorch 0.31, SparseConvNet 0.11
Error:
self.filter_volume = self.filter_size.prod().item()
AttributeError: 'int' object has no attribute 'item'
Code:
import sparseconvnet as scn
scn.SubmanifoldConvolution(3,4,4,3,False).filter_size.prod().item()
@btgraham Example and demo you showed both throw exception. There must be some bugs.
from sparseconvnet.
@fengxiuyaun The Diabetes example is described here
https://www.kaggle.com/c/diabetic-retinopathy-detection/discussion/15801
I am not going to import it into this repo as it is not recent research.
Regards
Ben
from sparseconvnet.
@btgraham Thanks! I will try.
from sparseconvnet.
Related Issues (20)
- Some questions about operational efficiency
- About the parameters of InputLayer HOT 3
- Dense to Sparse for input is quite slow
- AttributeError: module 'sparseconvnet.SCN' has no attribute 'Metadata_2' HOT 3
- RuntimeError: CUDA error: an illegal memory access was encountered HOT 2
- voxel input HOT 1
- Cloning face an error
- undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv HOT 2
- How to compute FLOPs for spraseconvnet HOT 3
- RuntimeError: expected scalar type Long but found Float HOT 5
- Building failure related to gcc version
- RuntimeError: expected scalar type Long but found Float
- Dilated convolution HOT 1
- Directly applying convolution HOT 1
- Rewrite for convolution operation
- Output with empty tensor
- setup.py中的C++17要改成C++14
- question from paper HOT 2
- Segment Fault due to resolution
- RuntimeError: Error compiling objects for extension
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 sparseconvnet.