haoliangzhou / dual-atme Goto Github PK
View Code? Open in Web Editor NEWCode of the paper "Dual-ATME: Dual-branch Attention Network for Micro-Expression Recognition"
Code of the paper "Dual-ATME: Dual-branch Attention Network for Micro-Expression Recognition"
data\MEGC2019\v_cde_flow\006_train.txt
Creating deep model....
Epoch 0/59
----------
Traceback (most recent call last):
File "D:\Dual-ATME-master\ModelTrain_MERoI_flow_3ls_cde2019.py", line 316, in
main()
File "D:\Dual-ATME-master\ModelTrain_MERoI_flow_3ls_cde2019.py", line 224, in main
model_ft = train_model(model_ft, dataloader_train, cosine_sim, criterion, optimizer_ft, device, num_epochs=num_epochs)
File "D:\Dual-ATME-master\ModelTrain_MERoI_flow_3ls_cde2019.py", line 50, in train_model
for j, samples in enumerate(dataloaders):
File "D:\Dual-ATME-master\venv\lib\site-packages\torch\utils\data\dataloader.py", line 631, in next
data = self._next_data()
File "D:\Dual-ATME-master\venv\lib\site-packages\torch\utils\data\dataloader.py", line 1346, in _next_data
return self._process_data(data)
File "D:\Dual-ATME-master\venv\lib\site-packages\torch\utils\data\dataloader.py", line 1372, in _process_data
data.reraise()
File "D:\Dual-ATME-master\venv\lib\site-packages\torch_utils.py", line 722, in reraise
raise exception
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "D:\Dual-ATME-master\venv\lib\site-packages\torch\utils\data_utils\worker.py", line 308, in _worker_loop
data = fetcher.fetch(index)
File "D:\Dual-ATME-master\venv\lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\Dual-ATME-master\venv\lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\Dual-ATME-master\Datasets.py", line 54, in getitem
img = Image.open("".join(self.imgPath[idx]), 'r').convert('RGB')
File "D:\Dual-ATME-master\venv\lib\site-packages\PIL\Image.py", line 3277, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'D:\home\zhouhl\Documents\data\samm\flow\033_033_2_2_033_2149-033_2117_flow.png'
这里不知道要怎么修改了,没有找到这个文件,看readme也没有提到,球球大神教我一下,非常感谢
Hello author, can you provide the code for image preprocessing? These include face alignment and cropping, manual extraction and reorganization of ROI regions, and extraction of optical flow features
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.