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

problems occurred when training #5

Open
Fortogether opened this issue Apr 18, 2022 · 11 comments
Open

problems occurred when training #5

Fortogether opened this issue Apr 18, 2022 · 11 comments

Comments

@Fortogether
Copy link

Hello author, first of all, thank you very much for open sourcing your work. My English and code skills are not very good, so here I will briefly talk about the problem when training, I have the following error when training with mpiigaze dataset: get_ignored_params() takes 1 positional argument but 2 were given;
when using Adam optimizer get_ ignored_params, get_non_ignored_params, get_fc_params all have the above error, I don't know how to change it, can you give some advice to me, thanks a lot.

@MisterLuka
Copy link

Hello author, I have same problem. Waiting for your answer, thanks a lot

1 similar comment
@MisterLuka
Copy link

Hello author, I have same problem. Waiting for your answer, thanks a lot

@AimersS
Copy link

AimersS commented Jul 21, 2022

作者您好,首先非常感谢您开源您的工作。我的英文和代码能力都不是很好,所以这里简单说一下训练时的问题,我用mpiigaze数据集训练时出现如下错误:get_ignored_pa​​rams() takes 1 positional argument but 2 were given; 在使用Adam优化器时get_ignored_pa​​rams、get_non_ignored_pa​​rams、get_fc_params都出现上述错误,不知道怎么改,能否给点建议,非常感谢。

There is an unspecified value in his train.py, and I used 180。

@Xiaosong020
Copy link

Hello author, first of all, thank you very much for open sourcing your work. My English and code skills are not very good, so here I will briefly talk about the problem when training, I have the following error when training with mpiigaze dataset: get_ignored_params() takes 1 positional argument but 2 were given; when using Adam optimizer get_ ignored_params, get_non_ignored_params, get_fc_params all have the above error, I don't know how to change it, can you give some advice to me, thanks a lot.

您好,看到您在训练时出现了问题,想必数据的前处理已经搞定了,想请问您的MPIIFaceGaze数据前处理是怎么做的呢?我在这个地方卡了很久了,期望得到您的回复

@AimersS
Copy link

AimersS commented Nov 3, 2022

BCAA GazeHub@Phi-ai Lab.provides data preprocessing code, which you can find online,u need to download both mpiigaze and mpiifacegaze

@Xiaosong020
Copy link

BCAA GazeHub@Phi-ai Lab.provides data preprocessing code, which you can find online,u need to download both mpiigaze and mpiifacegaze

我按照给定数据处理步骤,运行data_processing_mpii.py时,出现了如下问题,我下载的Origianal MPIIFaceGaze数据集没有annotation.txt,

File "/home/nixiaosong/projects/GazeDetection/L2CS-Net/data_preprocess/MPIIFaceGaze/data_processing_mpii.py", line 154, in
ImageProcessing_MPII()
File "/home/nixiaosong/projects/GazeDetection/L2CS-Net/data_preprocess/MPIIFaceGaze/data_processing_mpii.py", line 31, in ImageProcessing_MPII
ImageProcessing_Person(im_root, sample_list, im_outpath, label_outpath, person)
File "/home/nixiaosong/projects/GazeDetection/L2CS-Net/data_preprocess/MPIIFaceGaze/data_processing_mpii.py", line 50, in ImageProcessing_Person
with open(annotation) as infile:
FileNotFoundError: [Errno 2] No such file or directory: '/ssd1/datasets/GazeDetection/Original/MPIIFaceGaze/Origin/Data/Original/p00/day38/annotation.txt'

@Xiaosong020
Copy link

BCAA GazeHub@Phi-ai Lab.provides data preprocessing code, which you can find online,u need to download both mpiigaze and mpiifacegaze
已经解决了,谢谢

@AimersS
Copy link

AimersS commented Nov 4, 2022

I suggest you carefully read what Dr. Chen wrote on the page. MPII contains two datasets, which u need to download and preprocess at the same time

@flinya
Copy link

flinya commented Mar 9, 2023

Hello author, I have same problem. Waiting for your answer, thanks a lot

Hello , I have same problem. Could you give me some advice, thanks a lot

@Foggyfish
Copy link

Hello author, first of all, thank you very much for open sourcing your work. My English and code skills are not very good, so here I will briefly talk about the problem when training, I have the following error when training with mpiigaze dataset: get_ignored_params() takes 1 positional argument but 2 were given; when using Adam optimizer get_ ignored_params, get_non_ignored_params, get_fc_params all have the above error, I don't know how to change it, can you give some advice to me, thanks a lot.

Hello, I have same problem, did you solve the problem? Could you give me some suggestions, thanks a lot.

@Foggyfish
Copy link

作者您好,首先非常感谢您开源您的工作。我的英文和代码能力都不是很好,所以这里简单说一下训练时的问题,我用mpiigaze数据集训练时出现如下错误:get_ignored_pa​​rams() takes 1 positional argument but 2 were given; 在使用Adam优化器时get_ignored_pa​​rams、get_non_ignored_pa​​rams、get_fc_params都出现上述错误,不知道怎么改,能否给点建议,非常感谢。

There is an unspecified value in his train.py, and I used 180。

How did you specifically solve this problem? Can you provide a detailed explanation? Thank you very much

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

No branches or pull requests

6 participants