Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

!Error: main.py "black-floss" "train" #5

Open
pengguanjun opened this issue Oct 12, 2020 · 0 comments
Open

!Error: main.py "black-floss" "train" #5

pengguanjun opened this issue Oct 12, 2020 · 0 comments

Comments

@pengguanjun
Copy link

Dear Kevin Zakka,

When I learn the form2fit project, I can not test the GUI's main.py successfully.

Cd D:\Users\pgjgg\PycharmProjects\form2fit\form2fit\form2fit\code\gui
main.py "black-floss" "train"

bug note:

(venv) D:\Users\pgjgg\PycharmProjects\form2fit\form2fit\form2fit\code\gui>main.py "black-floss" "train"
Traceback (most recent call last):
  File "D:\Users\pgjgg\PycharmProjects\form2fit\form2fit\form2fit\code\gui\main.py", line 422, in <module>
    window = Debugger(args)
  File "D:\Users\pgjgg\PycharmProjects\form2fit\form2fit\form2fit\code\gui\main.py", line 43, in __init__
    self._init_loader_and_network()
  File "D:\Users\pgjgg\PycharmProjects\form2fit\form2fit\form2fit\code\gui\main.py", line 62, in _init_loader_and_network
    num_channels=self._num_channels,
  File "d:\users\pgjgg\pycharmprojects\form2fit\form2fit\form2fit\code\ml\dataloader\correspondence.py", line 683, in get_corr_loader
    num_channels,
  File "d:\users\pgjgg\pycharmprojects\form2fit\form2fit\form2fit\code\ml\dataloader\correspondence.py", line 62, in __init__
    self._get_filenames()
  File "d:\users\pgjgg\pycharmprojects\form2fit\form2fit\form2fit\code\ml\dataloader\correspondence.py", line 85, in _get_filenames
    self._filenames.sort(key=lambda x: int(x.split("/")[-2]))
  File "d:\users\pgjgg\pycharmprojects\form2fit\form2fit\form2fit\code\ml\dataloader\correspondence.py", line 85, in <lambda>
    self._filenames.sort(key=lambda x: int(x.split("/")[-2]))
ValueError: invalid literal for int() with base 10: 'data'

I also try to adjust the environment,just like as:

图片

But it didn't work. And I make a issue about torch.

Hope your help,Thanks.

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

No branches or pull requests

1 participant