csv_mean_100/v_t_D9MYkEPEo.csv' does not exist
See original GitHub issue$ python3.6 main.py --mode train
train subset video numbers: 9649
validation subset video numbers: 4728
/home/user/.local/lib/python3.6/site-packages/torch/optim/lr_scheduler.py:100: UserWarning: Detected call of `lr_scheduler.step()` before `optimizer.step()`. In PyTorch 1.1.0 and later, you should call them in the opposite order: `optimizer.step()` before `lr_scheduler.step()`. Failure to do this will result in PyTorch skipping the first value of the learning rate schedule.See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
"https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate", UserWarning)
Traceback (most recent call last):
File "main.py", line 204, in <module>
main(opt)
File "main.py", line 178, in main
BMN_Train(opt)
File "main.py", line 103, in BMN_Train
train_BMN(train_loader, model, optimizer, epoch, bm_mask)
File "main.py", line 25, in train_BMN
for n_iter, (input_data, label_confidence, label_start, label_end) in enumerate(data_loader):
File "/home/user/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 819, in __next__
return self._process_data(data)
File "/home/user/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 846, in _process_data
data.reraise()
File "/home/user/.local/lib/python3.6/site-packages/torch/_utils.py", line 385, in reraise
raise self.exc_type(msg)
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/user/.local/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/home/user/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/user/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/user/BMN-Boundary-Matching-Network/dataset.py", line 42, in __getitem__
video_data = self._load_file(index)
File "/home/user/BMN-Boundary-Matching-Network/dataset.py", line 68, in _load_file
video_df = pd.read_csv(self.feature_path + "csv_mean_" + str(self.temporal_scale) + "/" + video_name + ".csv")
File "/home/user/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 685, in parser_f
return _read(filepath_or_buffer, kwds)
File "/home/user/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 457, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "/home/user/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 895, in __init__
self._make_engine(self.engine)
File "/home/user/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 1135, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/home/user/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 1917, in __init__
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
File "pandas/_libs/parsers.pyx", line 689, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] File b'./data/activitynet_feature_cuhk/csv_mean_100/v_t_D9MYkEPEo.csv' does not exist: b'./data/activitynet_feature_cuhk/csv_mean_100/v_t_D9MYkEPEo.csv'
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
"CSV file does not exist" for a filename with embedded ...
Just referring to the filename like df = pd.read_csv("FBI-CRIME11.csv"). generally only works if the file is in the same directory as the script....
Read more >Importing CSV Data into Neo4j - Developer Guides
This article demonstrates different approaches to importing CSV data into Neo4j and solutions to potential issues that might arise during the process.
Read more >imported csv file gives error message with read_csv.
csv ' does not exist in current working directory ('/cloud/project'). If you are having trouble with a specific rstudio.cloud project, be sure to ......
Read more >Error - unable to read the csv file in pandas
after importing panda i am unable to read the csv file import pandas as pd ... FileNotFoundError: File b'data.csv' does not exist.
Read more >Solved: How to check for CSV file existence before trying
However, sometimes the input set of CSV files does not have "filewithdata.csv". This causes template-to-report loading to fail. I would like to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
These files are so big so you should download them by yourself as I writed in READEME.
I met with the same issue. Can anyone please tell me how to solve this problem?