Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any chance to get this working in Win64? #41

Open
FrankEscobar opened this issue Mar 14, 2019 · 2 comments
Open

Is there any chance to get this working in Win64? #41

FrankEscobar opened this issue Mar 14, 2019 · 2 comments

Comments

@FrankEscobar
Copy link

I tried but I get an invalid syntax at util.py, line 658

Thank you in advance

@areslp
Copy link

areslp commented Feb 1, 2020

I just comment the function test_async_task_manager and it runs...
But I met another problem:

Traceback (most recent call last):
  File "evaluate.py", line 35, in <module>
    evaluate()
  File "evaluate.py", line 31, in evaluate
    net.eval(spec_files=spec_files, step_by_step=True)
  File "D:\deep_learning\exposure\net.py", line 732, in eval
    image = read_tiff16(fn)
  File "D:\deep_learning\exposure\util.py", line 320, in read_tiff16
    img = tifffile.imread(fn)
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\tifffile\tifffile.py", line 719, in imread
    return imseq.asarray(**kwargs)
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\tifffile\tifffile.py", line 5947, in asarray
    func(index, fname)
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\tifffile\tifffile.py", line 5937, in func
    result[index] = im
ValueError: could not broadcast input array from shape (500,333,3) into shape (333,500,3)

Still trying...

@areslp
Copy link

areslp commented Feb 1, 2020

I found the problem, it's because the wildcard is not working properly in windows' power shell...
I use the following command and it works.

python evaluate.py example pretrained models/sample_inputs/A.tif models/sample_inputs/B.tif models/sample_inputs/C.tif models/sample_inputs/D.tif models/sample_inputs/E.tif models/sample_inputs/F.tif models/sample_inputs/G.tif models/sample_inputs/H.tif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants