Comments (14)
@hiteshnitetc https://github.com/faysal-ishtiaq/image-segmentation-keras-py3 here is a python 3 version of this repo
from image-segmentation-keras.
Alternatively, in the __init__.py
of the Module
folder, prefix imported modules by Module.
(note the dot).
Then if you want to make it run with python 3.6, remplace:
print ...
by print(...)
expect ..., ...
by expect ... as ...
zipped.next()
by next(zipped)
from image-segmentation-keras.
in the init.py,
write
import Models.VGGUnet
import Models.VGGSegnet
import Models.FCN8
import Models.FCN32
from image-segmentation-keras.
This should not happen. Please let me know your python version. Did you by mistake delete VGGUnet.py from the Models folder?
from image-segmentation-keras.
Python 3.6.1. I am also attaching screen shot.
My init.py file containts only 4 lines
import VGGUnet
import VGGSegnet
import FCN8
import FCN32
Is this ok?
from image-segmentation-keras.
We have tested this project only on python 2.7 . Python 3.x is not supported.
from image-segmentation-keras.
ok. Thnx for information. Can you please help, what changes i have to make, to make compatible your given program for python 3.6
from image-segmentation-keras.
@hiteshnitetc I ran into same problem. Did you solve it?
from image-segmentation-keras.
Python 3.x is not supported
from image-segmentation-keras.
from image-segmentation-keras.
Did it work for you ? I still got an error AttributeError: module 'Models' has no attribute 'VGGSegnet'
from image-segmentation-keras.
For a quick fix, you can copy all the *.py
files except the __init__.py
from \..\Models
to \..\
That worked for me.
from image-segmentation-keras.
Image segmentation keras has been updated with python3 support. The new version should fix the issue.
from image-segmentation-keras.
Hi, I had same error
os: windows 10
python: 3.7.10
keras version: '2.4.3'
tensorflow version: '2.4.1'
model = keras_segmentation.models.unet.vgg(n_classes=6 , input_height=256, input_width=256 )
AttributeError: module 'keras_segmentation' has no attribute 'models'
from image-segmentation-keras.
Related Issues (20)
- How to resume model training from last saved weight file?
- Installation requirement of h5py<=2.10.0?
- Not working on video
- Augmentations with "do_augment=True"
- Local Machine Multi GPU usage
- Wrong number of classes in visualize_segmentation
- urllib.error.URLError: <urlopen error [WinError 10061] 由于目标计算机积极拒绝,无法连接。>
- Unable to Work Preprocessing Function Parameter for model.train() HOT 1
- Custom Augmentation: AttributeError: 'Compose' object has no attribute 'to_deterministic'
- how to get FLOPs and Params
- crash to reboot durring training on both linux and windows
- iteration number is fixed to 512 and doesn't change
- Normalization problem
- if my pictures have a channel number more than 3, how to change the code to adapt to it
- Run pre-trained from Command Line?
- turning off the print statements?
- Another project using this lib....
- question about vgg16.py block 5
- TypeError: train() got an unexpected keyword argument 'callbacks'
- Model Deployment
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 image-segmentation-keras.