Giter Site home page Giter Site logo

help! about pixel-recursive-super-resolution HOT 4 OPEN

nilboy avatar nilboy commented on June 30, 2024
help!

from pixel-recursive-super-resolution.

Comments (4)

luckyboysmith avatar luckyboysmith commented on June 30, 2024 2

@roy920407 不好意思 你的回复不知怎么回事 邮件提醒被分类到垃圾箱了
最近我做了相关尝试 我个人建议 你最好用celebA align png
然后再用网络训练之前 做一个face crop
这样结果很好 和论文里几乎一致 清晰度上有些差别 细节方面 比wiki上展示的结果要好

from pixel-recursive-super-resolution.

luckyboysmith avatar luckyboysmith commented on June 30, 2024

你看下你用的data是jpg还是png
如果是jpg 在data那里应该是decode_jpg
如果是png 在data那里应该是decode_png
改一下即可

from pixel-recursive-super-resolution.

roy920407 avatar roy920407 commented on June 30, 2024

@luckyboysmith
所以意思是celebA 裡面有分
img_align_celeba、
img_align_celeba_png、
img_celeba
這三種只要選一種就好的意思嗎??因為裡面有png又有jpg

而且最近不知道為何又有新的錯誤,無法寫入。上網GOOGLE也找不到原因,請問有甚麼原因會造成這樣的錯誤
Traceback (most recent call last):
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1039, in _do_call
return fn(*args)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1021, in _run_fn
status, run_metadata)
File "C:\Program Files\Anaconda3\lib\contextlib.py", line 66, in exit
next(self.gen)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.UnknownError: NewRandomAccessFile failed to Create/Open: C:\Users\User\Desktop\prsr\tools\data\celebA\Anno : \udca6s\udca8\udcfa\udcb3Q\udca9\u06a1C
; Input/output error
[[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/cpu:0"](WholeFileReaderV2, input_producer)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "train.py", line 26, in
tf.app.run()
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "train.py", line 23, in main
solver.train()
File "C:\Users\User\Desktop\prsr\tools\solver.py", line 88, in train
coord.join(threads)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\coordinator.py", line 389, in join
six.reraise(*self._exc_info_to_raise)
File "C:\Program Files\Anaconda3\lib\site-packages\six.py", line 686, in reraise
raise value
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\queue_runner_impl.py", line 234, in _run
sess.run(enqueue_op)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 778, in run
run_metadata_ptr)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 982, in _run
feed_dict_string, options, run_metadata)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1032, in _do_run
target_list, options, run_metadata)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1052, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnknownError: NewRandomAccessFile failed to Create/Open: C:\Users\User\Desktop\prsr\tools\data\celebA\Anno : \udca6s\udca8\udcfa\udcb3Q\udca9\u06a1C
; Input/output error
[[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/cpu:0"](WholeFileReaderV2, input_producer)]]

Caused by op 'ReaderReadV2', defined at:
File "train.py", line 26, in
tf.app.run()
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "train.py", line 22, in main
solver = Solver()
File "C:\Users\User\Desktop\prsr\tools\solver.py", line 36, in init
self.dataset = DataSet(conf.imgs_list_path, self.num_epoch, self.batch_size)
File "C:\Users\User\Desktop\prsr\tools\data.py", line 17, in init
_, image_file = image_reader.read(filename_queue)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\ops\io_ops.py", line 193, in read
return gen_io_ops._reader_read_v2(self._reader_ref, queue_ref, name=name)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_io_ops.py", line 411, in _reader_read_v2
queue_handle=queue_handle, name=name)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 768, in apply_op
op_def=op_def)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2336, in create_op
original_op=self._default_original_op, op_def=op_def)
File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1228, in init
self._traceback = _extract_stack()

UnknownError (see above for traceback): NewRandomAccessFile failed to Create/Open: C:\Users\User\Desktop\prsr\tools\data\celebA\Anno : \udca6s\udca8\udcfa\udcb3Q\udca9\u06a1C
; Input/output error
[[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/cpu:0"](WholeFileReaderV2, input_producer)]]

from pixel-recursive-super-resolution.

Abel150 avatar Abel150 commented on June 30, 2024

你好, @luckyboysmith 我最近在阅读相关的论文和代码,对于代码中的生成sample的c_logits和p_logits有很多疑问,请问一下该怎么理解

from pixel-recursive-super-resolution.

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.