ldfrancis / computervision Goto Github PK
View Code? Open in Web Editor NEWImplementations of algorithms and operations used in Computer Vision: solely for Neural style transfer.
Implementations of algorithms and operations used in Computer Vision: solely for Neural style transfer.
Hi,
The colab notebook doesn't run, leads to a code error:
/content/NeuralStyleTransfer/implementNTS.py in load_image(path)
69
70 def load_image(path):
---> 71 image = scipy.misc.imread(path)
72 image = 255 * skimage.transform.resize(image, (IMAGE_HEIGHT, IMAGE_WIDTH, COLOR_CHANNELS))
73 # image = image.astype(np.uint8)
AttributeError: module 'scipy.misc' has no attribute 'imread'
scipy deprecated that method in 1.2.0
When forcing 1.0.0, it leads to another error, a timeout error:
downloading...
---------------------------------------------------------------------------
TimeoutError Traceback (most recent call last)
/usr/lib/python3.6/urllib/request.py in do_open(self, http_class, req, **http_conn_args)
1317 h.request(req.get_method(), req.selector, req.data, headers,
-> 1318 encode_chunked=req.has_header('Transfer-encoding'))
1319 except OSError as err: # timeout error
Hi,
This is a great work!
im facing some problem when i run the net cell i have this error
AttributeError Traceback (most recent call last)
<ipython-input-31-4968a954faba> in <module>()
4 NST.setImageDim(IMAGE_WIDTH,IMAGE_HEIGHT)
5
----> 6 NST.run(ITERATION, style_image=path_to_style_image, content_image=path_to_content_image)
/content/NeuralStyleTransfer/implementNTS.py in run(iterations, content_image, style_image)
316 pool_type='avg'
317 def run(iterations = ITERATIONS, content_image=CONTENT_IMAGE, style_image=STYLE_IMAGE):
--> 318 with tf.Session() as sess:
319
320 download_if_not_exists(file_name, url)
AttributeError: module 'tensorflow' has no attribute 'Session' ```
Is there a way to save a particular style (as we would do with any model) to avoid repeated training?
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.