Code upgrade of Pointer Networks to run on keras>=2.4.3 and tensorflow>=2.2.0
The original author code is at https://github.com/keon/pointer-networks.git.
Pointer Networks Implementation in Keras
License: MIT License
The original author code is at https://github.com/keon/pointer-networks.git.
The current import command is from pointer import PointerLSTM
It should be from PointerLSTM import PointerLSTM
Thanks
File "PointerLSTM.py", line 29, in call
initial_states = self.get_initial_states(x_input)
AttributeError: 'PointerLSTM' object has no attribute 'get_initial_states'
Might be a big list of changes for keras 2.
What does X,Y,x_test and y_test mean.would be better if each of that is explained
Hi Keon,
How can I modify your code to get a variable-length output? As pointer-networks are used for such a problem.
Write now, my input size is nx70x4 and my desired output size should be nx70x1, is there a quick way to get that instead of nx70x70?
Thanks in advance for your help.
Regards,
Israa
...in run.py should be import tsp_data
, or from tsp_data import Tsp
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.