-
Notifications
You must be signed in to change notification settings - Fork 179
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
Code implementation error? #15
Comments
Yeah, that's a point-wise convolution, just considering the current position, not local domain |
@ZitongYu Have you tried only use a normal 3x3 vanilla conv followed by normal 1x1 pointwise conv. The only difference is that the kernel of the 1x1 pointwise conv is new while your the kernel of 1x1 pointwise conv in your CDC module is generated from the front 3x3 vanilla conv's kernel. |
can you please explain to me about the map_dir, and the oulu_npu dataset has video, but as per the source code Train-images, Dev_images, Test_images are required. Can you please explain it to me? I am also a student, so it will be greatly helpful for me to do my research work. thanks in advance |
Even i have the images, in that folder i i cant able to do it, i cant able to find the reason, is there any way to solve it, Thanks in advance |
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:/face_anti_spoofing/dataset/OULUNPU/Data/demo/Train/Depth_map_1/1_1_01_3' Even I have images in this folder,... How about the def single_iamge_x(): I have confusion in it, Because i have already splitted up the oulu dataset videos 1_1_01_1 into 1_1_01_1_1, 1_1_01_1_2,1_1_01_1_3 like this...., def get_single_image_x(self, image_path, map_path, videoname):
here the error occurs, FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:/face_anti_spoofing/dataset/OULUNPU/Data/demo/Train/Depth_map_1/1_1_01_3',.. any to please, explain to me about it,. Thanks in advance |
I have the same problem.. have you solved it? |
Hi,
Please make sure about the path of image, and please check the video name ,
and how it's getting the image name
Thank you
…On Mon, Jan 25, 2021, 4:35 PM 610821216 ***@***.***> wrote:
FileNotFoundError: [WinError 3] The system cannot find the path specified:
'D:/face_anti_spoofing/dataset/OULUNPU/Data/demo/Train/Depth_map_1/1_1_01_3'
Even I have images in this folder,...
How about the def single_iamge_x():
I have confusion in it,
Because i have already splitted up the oulu dataset videos 1_1_01_1 into
1_1_01_1_1, 1_1_01_1_2,1_1_01_1_3 like this....,
def get_single_image_x(self, image_path, map_path, videoname):
for name in os.listdir(map_path):
print(name)
print(os.path.isfile(os.path.join(map_path, videoname)))
frames_total = len([name for name in os.listdir(map_path) if os.path.isfile(os.path.join(map_path, name))])
#print(frames_total)
# random choose 1 frame
for temp in range(500):
image_id = np.random.randint(1, frames_total-1)
s = "_%03d_scene" % image_id
image_name = videoname + s + '.jpg'
bbox_name = videoname + s + '.dat'
bbox_path = os.path.join(image_path, bbox_name)
s = "_%03d_depth1D" % image_id
map_name = videoname + s + '.jpg'
map_path2 = os.path.join(map_path, map_name)
# some .dat & map files have been missing
if os.path.exists(bbox_path) & os.path.exists(map_path2):
map_x_temp2 = cv2.imread(map_path2, 0)
if map_x_temp2 is not None:
break
about this one,
here the error occurs, FileNotFoundError: [WinError 3] The system cannot
find the path specified:
'D:/face_anti_spoofing/dataset/OULUNPU/Data/demo/Train/Depth_map_1/1_1_01_3',..
any to please, explain to me about it,.
Thanks in advance
@Zhengtq <https://github.com/Zhengtq> @amsturdy
<https://github.com/amsturdy> @ZitongYu <https://github.com/ZitongYu>
I have the same problem.. have you solved it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMM7B23BPUMU42JYPJEGSMLS3UULHANCNFSM4MRFVDZA>
.
|
Central Difference Convolution's implementation is'not match with the Eq.(4) of paper ?
![捕获](https://user-images.githubusercontent.com/18511167/80331653-3765e100-887b-11ea-9fef-aeb14699256c.PNG)
kernel_diff should be only related with the center point of inputs' local domain ?
The text was updated successfully, but these errors were encountered: