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

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

@pengguanjun

Description

@pengguanjun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions