Git Product home page Git Product logo

Comments (8)

dennybritz avatar dennybritz commented on April 28, 2024

Sorry, but we haven't tested this on windows and can't provide support for it. You'd need to debug this yourself. In theory it should work on Windows, but there may be a few things that just work differently. For example, in your case it seems to be a permission error:

PermissionError: [Errno 13] Permission denied: 'C:\Users\gdy\AppData\Local\Temp\tmpjo9ekggj'

from seq2seq.

GuohongLi avatar GuohongLi commented on April 28, 2024

@dennybritz On linux, I met the same problem. some info as blow, and I wonder why it needs to open url when evaluation since my runtime env cannot reach network.
INFO:tensorflow:Starting evaluation at 2017-03-27-06:27:27
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: Tesla K40m, pci bus id: 0000:84:00.0)
W tensorflow/core/framework/op_kernel.cc:993] Out of range: Reached limit of 1
[[Node: parallel_read_1/filenames/limit_epochs/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@parallel_read_1/filenames/limit_epochs/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/cpu:0"]]
Traceback (most recent call last):
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/site-packages/tensorflow/python/ops/script_ops.py", line 82, in call
ret = func(*args)
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/site-packages/seq2seq/seq2seq/metrics/metric_specs.py", line 156, in _py_func
return self.metric_fn(sliced_hypotheses, sliced_references)
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/site-packages/seq2seq/seq2seq/metrics/metric_specs.py", line 181, in metric_fn
return bleu.moses_multi_bleu(hypotheses, references, lowercase=False)
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/site-packages/seq2seq/seq2seq/metrics/bleu.py", line 51, in moses_multi_bleu
"https://raw.githubusercontent.com/moses-smt/mosesdecoder/"
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/urllib.py", line 93, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/urllib.py", line 239, in retrieve
fp = self.open(url, data)
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/urllib.py", line 436, in open_https
h.endheaders(data)
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/home/img/liguohong/tool/tensorflow1.0.org/lib/python2.7/httplib.py", line 776, in send
self.connect()

from seq2seq.

GuohongLi avatar GuohongLi commented on April 28, 2024

@dennybritz I have figured out, just ignore it.

from seq2seq.

yanghoonkim avatar yanghoonkim commented on April 28, 2024

what was the problem? @GuohongLi
Is it the similar problem with mine ? #266

from seq2seq.

gigibang avatar gigibang commented on April 28, 2024

Could you explain the issue and solution? Thanks. I have the same problem. @GuohongLi

from seq2seq.

neerajks avatar neerajks commented on April 28, 2024

@GuohongLi Hi, I am facing the same problem. Could you help with the work around / solution to the problem.

from seq2seq.

RuoqiLiu avatar RuoqiLiu commented on April 28, 2024

hi i am facing this problem in win10, do you find a solution?

from seq2seq.

newmluser avatar newmluser commented on April 28, 2024

Is there any solution for this

from seq2seq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.