Comments (3)
I find the answer. It is just the difference of keras. I used keras by fchollet. However this project is using farizrahman4u/keras-contrib. At last, I just go to this url:
https://github.com/farizrahman4u/keras-contrib/blob/master/keras_contrib/backend/tensorflow_backend.py
And copy _postprocess_conv2d_output and _preprocess_conv2d_input on my own. That is OK now!
from densenet.
Sorry for the delay. Got caught up in midsems. This should be fixed properly now for the Tensorflow backend
from densenet.
The enviroment that I run was:
tensoflow 1.10.0
keras 2.2.2
The problem occurred while I ran python train_coco.py:
Traceback (most recent call last):
File "train_coco.py", line 15, in
from models import *
File "/home/chun/src/Keras-FCN/models.py", line 6, in
from keras_contrib.applications import densenet
File "/home/chun/CHUN/anaconda3/envs/KFCN/lib/python3.6/site-packages/keras_contrib-1.2.1-py3.6.egg/keras_contrib/init.py", line 2, in
File "/home/chun/CHUN/anaconda3/envs/KFCN/lib/python3.6/site-packages/keras_contrib-1.2.1-py3.6.egg/keras_contrib/backend/init.py", line 14, in
File "/home/chun/CHUN/anaconda3/envs/KFCN/lib/python3.6/site-packages/keras_contrib-1.2.1-py3.6.egg/keras_contrib/backend/tensorflow_backend.py", line 10, in
ImportError: cannot import name '_postprocess_conv3d_output'
from densenet.
Related Issues (20)
- Cifar10 weights HOT 1
- no longer works with newest keras HOT 8
- About implementation of __dense_block HOT 2
- Running Densnet in CPU HOT 1
- Why reshape in fc-densenet in top layer before applying softmax? HOT 2
- AttributeError: 'NoneType' object has no attribute 'get_file' HOT 2
- Where is connection to 12 layers of each dense block? HOT 1
- About DenseNet HOT 1
- About Densenet architecture HOT 1
- Plans for memory efficient implementation in Keras? HOT 1
- How to upload my own dataset instead of the Cifar10 dataset HOT 1
- How to use 'DENSENET_121_WEIGHTS_PATH_NO_TOP'? HOT 1
- Mistake in L2 regularization HOT 1
- creat model HOT 2
- creat model HOT 1
- imagenet_inference
- inter_channel HOT 1
- Poor CIFAR100 accuracy HOT 1
- Error about normalize_data_format
- Unable to convert to frozen graph or checkpoint
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 densenet.