silencemao / detect-cell-edge-use-unet Goto Github PK
View Code? Open in Web Editor NEWUnet
License: GNU General Public License v2.0
Unet
License: GNU General Public License v2.0
merge之前,是把label作为通道2,原图作为通道0
splitmerge的时候 是把通道0作为label,把通道2作为图像
我观察了生成的图片,这样做确实是正确的,但是为什么通道会变换了呢?
另外,我看了一下,尽管原图是黑白的,它的RGB通道都是有数值的,为什么可以让label取代了它本来的一个通道?
When i run this code to test, i found a problem that ModuleNotFoundError: No module named 'libtiff'. I visited the website of stackoverflow and googled it, but I couldn’t solve it in the end.
为什么生成的每个子文件为空呢?
loading data done
/Users/ericliu/cv/detect-cell-edge-use-unet/data.py:231: RuntimeWarning: Mean of empty slice.
mean = imgs_test.mean(axis=0)
/Users/ericliu/anaconda/lib/python2.7/site-packages/numpy/core/_methods.py:73: RuntimeWarning: invalid value encountered in true_divide
ret, rcount, out=ret, casting='unsafe', subok=False)
Traceback (most recent call last):
File "/Users/ericliu/cv/detect-cell-edge-use-unet/unet_test.py", line 169, in
myunet.train()
File "/Users/ericliu/cv/detect-cell-edge-use-unet/unet_test.py", line 153, in train
model = self.get_unet()
File "/Users/ericliu/cv/detect-cell-edge-use-unet/unet_test.py", line 87, in get_unet
print("conv1 shape:", conv1.shape)
AttributeError: 'Tensor' object has no attribute 'shape'
Process finished with exit code 1
I am wondering if you can provide links for train-volume.tif, test-volume.tif and train-volume.tif
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.