udacity / cn-deep-learning Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/bin/floyd", line 11, in <module> sys.exit(cli()) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py", line 1063, in invoke Command.invoke(self, ctx) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/floyd/main.py", line 27, in cli release=get_cli_version(), File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/floyd/cli/utils.py", line 178, in get_cli_version return pkg_resources.require("floyd-cli")[0].version File "/usr/local/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 690, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 588, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: simplejson
urllib.request
modules have been deprecated,
urllib.request.urlretrieve
should be urllib.urlretrieve
➜ face-generation git:(master) python --version
Python 2.7.14 :: Anaconda custom (64-bit)
➜ face-generation git:(master) jupyter notebook dlnd_face_generation.ipynb
File "helper.py", line 215
self.image_mode)
SyntaxError: only named arguments may follow *expression
when i run the get_ini_cell, there is something wrong with the function about InitialState = cell.zero_state(batch_size,tf.float32)
The tensorflow version is 1.4
I wanna ask what can i do for the code cause my code is the same as others,but they dont meet such probelms.
And when i run the build_nn,it also says ValueError: Dimensions must be equal, but are 512 and 556 for 'rnn/while/rnn/multi_rnn_cell/cell_0/cell_0/basic_lstm_cell/MatMul_1' (op: 'MatMul') with input shapes: [128,512], [556,1024].
bottleneck_features = np.load('bottleneck_features/DogResnet50Data.npz')
print(bottleneck_features['train'].shape)
out: (6680, 1, 1, 2048)
tensor = path_to_tensor('dogImages/train/001.Affenpinscher/Affenpinscher_00001.jpg')
bottleneck_features = extract_Resnet50(tensor )
print(bottleneck_features.shape)
out:(1, 7, 7, 2048)
The two shape is not match
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.