Comments (6)
The file list we provided is suitable for Linux system. According to your error message, it's a path format error.
from feathernets_face-anti-spoofing-attack-detection-challenge-cvpr2019.
The error also happen on Linux system
root@ubt:/home/ubt/app/CVPR2019# python main.py --config="cfgs/fishnet150-32.yaml" --b 32 --lr 0.01 --every-decay 30 --fl-gamma 2 >> fishnet150-train.log /root/anaconda3/lib/python3.7/site-packages/torch/nn/modules/upsampling.py:129: UserWarning: nn.Upsample is deprecated. Use nn.functional.interpolate instead. warnings.warn("nn.{} is deprecated. Use nn.functional.interpolate instead.".format(self.name)) Traceback (most recent call last): File "main.py", line 402, in <module> main() File "main.py", line 198, in main train(train_loader, model, criterion, optimizer, epoch) File "main.py", line 230, in train for i, (input, target) in enumerate(train_loader): File "/root/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 637, in __next__ return self._process_next_batch(batch) File "/root/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 658, in _process_next_batch raise batch.exc_type(batch.exc_msg) FileNotFoundError: Traceback (most recent call last): File "/root/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 138, in _worker_loop samples = collate_fn([dataset[i] for i in batch_indices]) File "/root/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 138, in <listcomp> samples = collate_fn([dataset[i] for i in batch_indices]) File "/home/ubt/app/CVPR2019/read_data.py", line 94, in __getitem__ depth = Image.open(depth_dir[idx]) File "/root/anaconda3/lib/python3.7/site-packages/PIL/Image.py", line 2580, in open fp = builtins.open(filename, "rb") FileNotFoundError: [Errno 2] No such file or directory: '/home/ubt/app/CVPR2019/data/Training/fake_part/CLKJ_BS1010/06_enm_b.rssdk/depth/151.jpg'
from feathernets_face-anti-spoofing-attack-detection-challenge-cvpr2019.
我发现有个地方的确有问题。我不知道怎么改?
Training文件夹下还是“151_tr.jpg”,而程序似乎要“151.jpg”。
“ir_train.txt”下截图可以看出,运行fileList.py后,它是“151.jpg”,如下。
问题应该是这个,我不知道怎么回事。@SoftwareGift
from feathernets_face-anti-spoofing-attack-detection-challenge-cvpr2019.
@SoftwareGift 看下我的问题,谢谢了。
from feathernets_face-anti-spoofing-attack-detection-challenge-cvpr2019.
我也遇到了同样的问题,希望您解答一下。
from feathernets_face-anti-spoofing-attack-detection-challenge-cvpr2019.
我发现有个地方的确有问题。我不知道怎么改?
Training文件夹下还是“151_tr.jpg”,而程序似乎要“151.jpg”。
“ir_train.txt”下截图可以看出,运行fileList.py后,它是“151.jpg”,如下。
问题应该是这个,我不知道怎么回事。@SoftwareGift
我通过rgb.write(pwd + list[0].split('.jpg')[0]+ '_tr' + '.jpg' +'\n')修改了文件名,但是仍然运行不了训练指令,请问您最后是如何解决的呢?
from feathernets_face-anti-spoofing-attack-detection-challenge-cvpr2019.
Related Issues (20)
- No such file or directory: 'submission/2019-01-28_15:45:05_fishnet150_52_submission.txt'
- Pretrained model - Google Drive HOT 1
- 测试一张普通照片或者深度图,是否需要把人脸扣出来? HOT 2
- 论文中关于depth+ir特征图融合是在哪一部分呢?我在您的代码中只看到了关于depth的部分,Multimodal这一块会release吗?
- How to create inference code from camera (realtime)?
- not able to access Pretrained models
- FileNotFoundError: [Errno 2] No such file or directory: 'test_private_list.txt'
- 深度学习刚入门,复现大佬的工作不太会,有偿求辅导 HOT 1
- Pretained model google link is down. HOT 1
- Train FeatherNetB
- The pretrained models google drive link is broken.
- Cannot unzip downloaded zip file HOT 2
- 请教一下用realsense采集的IR数据的预处理思路 HOT 3
- fishnet150_ckpt.tar
- ir效果对比 HOT 3
- 直接使用深度数据训练可以吗 HOT 1
- Does it apply to pedestrian re-identification?
- openvino HOT 3
- No such file or directory: 'test_private_list.txt'
- No such file or directory: 'logs/2021-07-29_20:19:52_fishnet150.log' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feathernets_face-anti-spoofing-attack-detection-challenge-cvpr2019.