File Test Operators

A file test operator is a unary operator that tests a filename or a filehandle.

OperatorMeaning
-rFile is readable by effective uid/gid.
-wFile is writable by effective uid/gid.
-xFile is executable by effective uid/gid.
-oFile is owned by effective uid.
-RFile is readable by real uid/gid.
-WFile is writable by real uid/gid.
-XFile is executable by real uid/gid.
-OFile is owned by real uid.
-eFile exists.
-zFile has zero size.
-sFile has non-zero size (returns size).
-fFile is a plain file.
-dFile is a directory.
-lFile is a symbolic link.
-pFile is a named pipe (FIFO).
-SFile is a socket.
-bFile is a block special file.
-cFile is a character special file.
-tFilehandle is opened to a tty.
-uFile has setuid bit set.
-gFile has setgid bit set.
-kFile has sticky bit set.
-TFile is a text file.
-BFile is a binary file (opposite of -T).
-MAge of file (at startup) in days since modification.
-AAge of file (at startup) in days since last access.
-CAge of file (at startup) in days since inode change.
Epoch GPU_mem box_loss cls_loss dfl_loss Instances Size 0%| | 0/12838 [00:00<?, ?it/s]D:\anaconda\envs\test3\lib\site-packages\torch\autograd\__init__.py:266: UserWarning: ComplexHalf support is experimental and many operators don't support it yet. (Triggered internally at C:\cb\pytorch_1000000000000\work\aten\src\ATen\EmptyTensor.cpp:31.) Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass 0%| | 0/12838 [00:33<?, ?it/s] Traceback (most recent call last): File "D:\v8\ultralytics-SCSA\runs\无预训练权重训练.py", line 8, in <module> train() File "D:\v8\ultralytics-SCSA\runs\无预训练权重训练.py", line 5, in train results = model.train(data="D:/v8/ultralytics-SCSA/ultralytics/cfg/datasets/coco8-jiance.yaml", epochs=100, imgsz=512, batch=32, workers=1) File "D:\v8\ultralytics-SCSA\ultralytics\engine\model.py", line 673, in train self.trainer.train() File "D:\v8\ultralytics-SCSA\ultralytics\engine\trainer.py", line 198, in train self._do_train(world_size) File "D:\v8\ultralytics-SCSA\ultralytics\engine\trainer.py", line 378, in _do_train self.scaler.scale(self.loss).backward() File "D:\anaconda\envs\test3\lib\site-packages\torch\_tensor.py", line 522, in backward torch.autograd.backward( File "D:\anaconda\envs\test3\lib\site-packages\torch\autograd\__init__.py", line 266, in backward Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass RuntimeError: "fill_empty_deterministic_" not implemented for 'ComplexHalf'
最新发布
03-08
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值